Class CodelessConnectorPollingConfigProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.CodelessConnectorPollingConfigProperties
-
public final class CodelessConnectorPollingConfigProperties extends Object
Config to describe the polling config for API poller connector.
-
-
Constructor Summary
Constructors Constructor Description CodelessConnectorPollingConfigProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodelessConnectorPollingAuthProperties
auth()
Get the auth property: Describe the authentication type of the poller.Boolean
isActive()
Get the isActive property: The poller active status.CodelessConnectorPollingPagingProperties
paging()
Get the paging property: Describe the poll request paging config of the poller.CodelessConnectorPollingRequestProperties
request()
Get the request property: Describe the poll request config parameters of the poller.CodelessConnectorPollingResponseProperties
response()
Get the response property: Describe the response config parameters of the poller.void
validate()
Validates the instance.CodelessConnectorPollingConfigProperties
withAuth(CodelessConnectorPollingAuthProperties auth)
Set the auth property: Describe the authentication type of the poller.CodelessConnectorPollingConfigProperties
withIsActive(Boolean isActive)
Set the isActive property: The poller active status.CodelessConnectorPollingConfigProperties
withPaging(CodelessConnectorPollingPagingProperties paging)
Set the paging property: Describe the poll request paging config of the poller.CodelessConnectorPollingConfigProperties
withRequest(CodelessConnectorPollingRequestProperties request)
Set the request property: Describe the poll request config parameters of the poller.CodelessConnectorPollingConfigProperties
withResponse(CodelessConnectorPollingResponseProperties response)
Set the response property: Describe the response config parameters of the poller.
-
-
-
Method Detail
-
isActive
public Boolean isActive()
Get the isActive property: The poller active status.- Returns:
- the isActive value.
-
withIsActive
public CodelessConnectorPollingConfigProperties withIsActive(Boolean isActive)
Set the isActive property: The poller active status.- Parameters:
isActive
- the isActive value to set.- Returns:
- the CodelessConnectorPollingConfigProperties object itself.
-
auth
public CodelessConnectorPollingAuthProperties auth()
Get the auth property: Describe the authentication type of the poller.- Returns:
- the auth value.
-
withAuth
public CodelessConnectorPollingConfigProperties withAuth(CodelessConnectorPollingAuthProperties auth)
Set the auth property: Describe the authentication type of the poller.- Parameters:
auth
- the auth value to set.- Returns:
- the CodelessConnectorPollingConfigProperties object itself.
-
request
public CodelessConnectorPollingRequestProperties request()
Get the request property: Describe the poll request config parameters of the poller.- Returns:
- the request value.
-
withRequest
public CodelessConnectorPollingConfigProperties withRequest(CodelessConnectorPollingRequestProperties request)
Set the request property: Describe the poll request config parameters of the poller.- Parameters:
request
- the request value to set.- Returns:
- the CodelessConnectorPollingConfigProperties object itself.
-
paging
public CodelessConnectorPollingPagingProperties paging()
Get the paging property: Describe the poll request paging config of the poller.- Returns:
- the paging value.
-
withPaging
public CodelessConnectorPollingConfigProperties withPaging(CodelessConnectorPollingPagingProperties paging)
Set the paging property: Describe the poll request paging config of the poller.- Parameters:
paging
- the paging value to set.- Returns:
- the CodelessConnectorPollingConfigProperties object itself.
-
response
public CodelessConnectorPollingResponseProperties response()
Get the response property: Describe the response config parameters of the poller.- Returns:
- the response value.
-
withResponse
public CodelessConnectorPollingConfigProperties withResponse(CodelessConnectorPollingResponseProperties response)
Set the response property: Describe the response config parameters of the poller.- Parameters:
response
- the response value to set.- Returns:
- the CodelessConnectorPollingConfigProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-