Class CodelessConnectorPollingResponseProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.CodelessConnectorPollingResponseProperties
-
public final class CodelessConnectorPollingResponseProperties extends Object
Describes the response from the external server.
-
-
Constructor Summary
Constructors Constructor Description CodelessConnectorPollingResponseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
eventsJsonPaths()
Get the eventsJsonPaths property: Describes the path we should extract the data in the response.Boolean
isGzipCompressed()
Get the isGzipCompressed property: Describes if the data in the response is Gzip.String
successStatusJsonPath()
Get the successStatusJsonPath property: Describes the path we should extract the status code in the response.String
successStatusValue()
Get the successStatusValue property: Describes the path we should extract the status value in the response.void
validate()
Validates the instance.CodelessConnectorPollingResponseProperties
withEventsJsonPaths(List<String> eventsJsonPaths)
Set the eventsJsonPaths property: Describes the path we should extract the data in the response.CodelessConnectorPollingResponseProperties
withIsGzipCompressed(Boolean isGzipCompressed)
Set the isGzipCompressed property: Describes if the data in the response is Gzip.CodelessConnectorPollingResponseProperties
withSuccessStatusJsonPath(String successStatusJsonPath)
Set the successStatusJsonPath property: Describes the path we should extract the status code in the response.CodelessConnectorPollingResponseProperties
withSuccessStatusValue(String successStatusValue)
Set the successStatusValue property: Describes the path we should extract the status value in the response.
-
-
-
Method Detail
-
eventsJsonPaths
public List<String> eventsJsonPaths()
Get the eventsJsonPaths property: Describes the path we should extract the data in the response.- Returns:
- the eventsJsonPaths value.
-
withEventsJsonPaths
public CodelessConnectorPollingResponseProperties withEventsJsonPaths(List<String> eventsJsonPaths)
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
public String 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
public String successStatusValue()
Get the successStatusValue property: Describes the path we should extract the status value in the response.- Returns:
- the successStatusValue value.
-
withSuccessStatusValue
public CodelessConnectorPollingResponseProperties withSuccessStatusValue(String successStatusValue)
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
public Boolean isGzipCompressed()
Get the isGzipCompressed property: Describes if the data in the response is Gzip.- Returns:
- the isGzipCompressed value.
-
withIsGzipCompressed
public CodelessConnectorPollingResponseProperties withIsGzipCompressed(Boolean isGzipCompressed)
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.
-
-