Class CodelessConnectorPollingResponseProperties
java.lang.Object
com.azure.resourcemanager.securityinsights.models.CodelessConnectorPollingResponseProperties
Describes the response from the external server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the eventsJsonPaths property: Describes the path we should extract the data in the response.Get the isGzipCompressed property: Describes if the data in the response is Gzip.Get the successStatusJsonPath property: Describes the path we should extract the status code in the response.Get the successStatusValue property: Describes the path we should extract the status value in the response.void
validate()
Validates the instance.withEventsJsonPaths
(List<String> eventsJsonPaths) Set the eventsJsonPaths property: Describes the path we should extract the data in the response.withIsGzipCompressed
(Boolean isGzipCompressed) Set the isGzipCompressed property: Describes if the data in the response is Gzip.withSuccessStatusJsonPath
(String successStatusJsonPath) Set the successStatusJsonPath property: Describes the path we should extract the status code in the response.withSuccessStatusValue
(String successStatusValue) Set the successStatusValue property: Describes the path we should extract the status value in the response.
-
Constructor Details
-
CodelessConnectorPollingResponseProperties
public CodelessConnectorPollingResponseProperties()
-
-
Method Details
-
eventsJsonPaths
Get the eventsJsonPaths property: Describes the path we should extract the data in the response.- Returns:
- the eventsJsonPaths value.
-
withEventsJsonPaths
Set the eventsJsonPaths property: Describes the path we should extract the data in the response.- Parameters:
eventsJsonPaths
- the eventsJsonPaths value to set.- Returns:
- the CodelessConnectorPollingResponseProperties object itself.
-
successStatusJsonPath
Get the successStatusJsonPath property: Describes the path we should extract the status code in the response.- Returns:
- the successStatusJsonPath value.
-
withSuccessStatusJsonPath
public CodelessConnectorPollingResponseProperties withSuccessStatusJsonPath(String successStatusJsonPath) Set the successStatusJsonPath property: Describes the path we should extract the status code in the response.- Parameters:
successStatusJsonPath
- the successStatusJsonPath value to set.- Returns:
- the CodelessConnectorPollingResponseProperties object itself.
-
successStatusValue
Get the successStatusValue property: Describes the path we should extract the status value in the response.- Returns:
- the successStatusValue value.
-
withSuccessStatusValue
Set the successStatusValue property: Describes the path we should extract the status value in the response.- Parameters:
successStatusValue
- the successStatusValue value to set.- Returns:
- the CodelessConnectorPollingResponseProperties object itself.
-
isGzipCompressed
Get the isGzipCompressed property: Describes if the data in the response is Gzip.- Returns:
- the isGzipCompressed value.
-
withIsGzipCompressed
Set the isGzipCompressed property: Describes if the data in the response is Gzip.- Parameters:
isGzipCompressed
- the isGzipCompressed value to set.- Returns:
- the CodelessConnectorPollingResponseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-