Class ValidateResponseInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.ValidateResponseInner
Describes the result of resource validation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerror()Get the error property: Error details for the case when validation fails.status()Get the status property: Result of validation.voidvalidate()Validates the instance.withError(ValidateResponseError error) Set the error property: Error details for the case when validation fails.withStatus(String status) Set the status property: Result of validation.
-
Constructor Details
-
ValidateResponseInner
public ValidateResponseInner()Creates an instance of ValidateResponseInner class.
-
-
Method Details
-
status
Get the status property: Result of validation.- Returns:
- the status value.
-
withStatus
Set the status property: Result of validation.- Parameters:
status- the status value to set.- Returns:
- the ValidateResponseInner object itself.
-
error
Get the error property: Error details for the case when validation fails.- Returns:
- the error value.
-
withError
Set the error property: Error details for the case when validation fails.- Parameters:
error- the error value to set.- Returns:
- the ValidateResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-