ValidateSecretOutputInner Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. fluent. models. ValidateSecretOutputInner
- com.
Implements
public final class ValidateSecretOutputInner
implements JsonSerializable<ValidateSecretOutputInner>
Output of the validated secret.
Constructor Summary
Constructor | Description |
---|---|
ValidateSecretOutputInner() |
Creates an instance of Validate |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Validate |
fromJson(JsonReader jsonReader)
Reads an instance of Validate |
String |
message()
Get the message property: Detailed error message. |
Status |
status()
Get the status property: The validation status. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Validate |
withMessage(String message)
Set the message property: Detailed error message. |
Validate |
withStatus(Status status)
Set the status property: The validation status. |
Methods inherited from java.lang.Object
Constructor Details
ValidateSecretOutputInner
public ValidateSecretOutputInner()
Creates an instance of ValidateSecretOutputInner class.
Method Details
fromJson
public static ValidateSecretOutputInner fromJson(JsonReader jsonReader)
Reads an instance of ValidateSecretOutputInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Detailed error message.
Returns:
status
public Status status()
Get the status property: The validation status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMessage
public ValidateSecretOutputInner withMessage(String message)
Set the message property: Detailed error message.
Parameters:
Returns:
withStatus
public ValidateSecretOutputInner withStatus(Status status)
Set the status property: The validation status.
Parameters:
Returns: