Class ValidateResponseInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.ValidateResponseInner
-
public final class ValidateResponseInner extends Object
Describes the result of resource validation.
-
-
Constructor Summary
Constructors Constructor Description ValidateResponseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidateResponseErrorerror()Get the error property: Error details for the case when validation fails.Stringstatus()Get the status property: Result of validation.voidvalidate()Validates the instance.ValidateResponseInnerwithError(ValidateResponseError error)Set the error property: Error details for the case when validation fails.ValidateResponseInnerwithStatus(String status)Set the status property: Result of validation.
-
-
-
Method Detail
-
status
public String status()
Get the status property: Result of validation.- Returns:
- the status value.
-
withStatus
public ValidateResponseInner withStatus(String status)
Set the status property: Result of validation.- Parameters:
status- the status value to set.- Returns:
- the ValidateResponseInner object itself.
-
error
public ValidateResponseError error()
Get the error property: Error details for the case when validation fails.- Returns:
- the error value.
-
withError
public ValidateResponseInner withError(ValidateResponseError error)
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.
-
-