public final class ValidateResponseInner extends Object
| Constructor and Description |
|---|
ValidateResponseInner() |
| Modifier and Type | Method and Description |
|---|---|
ValidateResponseError |
error()
Get the error property: Error details for the case when validation fails.
|
String |
status()
Get the status property: Result of validation.
|
void |
validate()
Validates the instance.
|
ValidateResponseInner |
withError(ValidateResponseError error)
Set the error property: Error details for the case when validation fails.
|
ValidateResponseInner |
withStatus(String status)
Set the status property: Result of validation.
|
public String status()
public ValidateResponseInner withStatus(String status)
status - the status value to set.public ValidateResponseError error()
public ValidateResponseInner withError(ValidateResponseError error)
error - the error value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.