Class ValidateSecretOutputInner

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ValidateSecretOutputInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidateSecretOutputInner>

public final class ValidateSecretOutputInner extends Object implements com.azure.json.JsonSerializable<ValidateSecretOutputInner>
Output of the validated secret.
  • Constructor Details

    • ValidateSecretOutputInner

      public ValidateSecretOutputInner()
      Creates an instance of ValidateSecretOutputInner class.
  • Method Details

    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ValidateSecretOutputInner>
      Throws:
      IOException
    • fromJson

      public static ValidateSecretOutputInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ValidateSecretOutputInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ValidateSecretOutputInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ValidateSecretOutputInner.