Class RestParameters
java.lang.Object
com.azure.resourcemanager.deploymentmanager.fluent.models.RestParameters
The parameters for the REST health check.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the healthChecks property: The list of checks that form the health check step.void
validate()
Validates the instance.withHealthChecks
(List<RestHealthCheck> healthChecks) Set the healthChecks property: The list of checks that form the health check step.
-
Constructor Details
-
RestParameters
public RestParameters()Creates an instance of RestParameters class.
-
-
Method Details
-
healthChecks
Get the healthChecks property: The list of checks that form the health check step.- Returns:
- the healthChecks value.
-
withHealthChecks
Set the healthChecks property: The list of checks that form the health check step.- Parameters:
healthChecks
- the healthChecks value to set.- Returns:
- the RestParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-