ValidateResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. ValidateResponseInner
- com.
Implements
public final class ValidateResponseInner
implements JsonSerializable<ValidateResponseInner>
Describes the result of resource validation.
Constructor Summary
Constructor | Description |
---|---|
ValidateResponseInner() |
Creates an instance of Validate |
Method Summary
Modifier and Type | Method and Description |
---|---|
Validate |
error()
Get the error property: Error details for the case when validation fails. |
static
Validate |
fromJson(JsonReader jsonReader)
Reads an instance of Validate |
String |
status()
Get the status property: Result of validation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Validate |
withError(ValidateResponseError error)
Set the error property: Error details for the case when validation fails. |
Validate |
withStatus(String status)
Set the status property: Result of validation. |
Methods inherited from java.lang.Object
Constructor Details
ValidateResponseInner
public ValidateResponseInner()
Creates an instance of ValidateResponseInner class.
Method Details
error
public ValidateResponseError error()
Get the error property: Error details for the case when validation fails.
Returns:
fromJson
public static ValidateResponseInner fromJson(JsonReader jsonReader)
Reads an instance of ValidateResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
status
public String status()
Get the status property: Result of validation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withError
public ValidateResponseInner withError(ValidateResponseError error)
Set the error property: Error details for the case when validation fails.
Parameters:
Returns:
withStatus
public ValidateResponseInner withStatus(String status)
Set the status property: Result of validation.
Parameters:
Returns:
Applies to
Azure SDK for Java