Class ValidateSecretOutputInner
- java.lang.Object
-
- com.azure.resourcemanager.cdn.fluent.models.ValidateSecretOutputInner
-
public final class ValidateSecretOutputInner extends Object
Output of the validated secret.
-
-
Constructor Summary
Constructors Constructor Description ValidateSecretOutputInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmessage()Get the message property: Detailed error message.Statusstatus()Get the status property: The validation status.voidvalidate()Validates the instance.ValidateSecretOutputInnerwithMessage(String message)Set the message property: Detailed error message.ValidateSecretOutputInnerwithStatus(Status status)Set the status property: The validation status.
-
-
-
Method Detail
-
status
public Status status()
Get the status property: The validation status.- Returns:
- the status value.
-
withStatus
public ValidateSecretOutputInner withStatus(Status status)
Set the status property: The validation status.- Parameters:
status- the status value to set.- Returns:
- the ValidateSecretOutputInner object itself.
-
message
public String message()
Get the message property: Detailed error message.- Returns:
- the message value.
-
withMessage
public ValidateSecretOutputInner withMessage(String message)
Set the message property: Detailed error message.- Parameters:
message- the message value to set.- Returns:
- the ValidateSecretOutputInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-