java.lang.Object
com.azure.resourcemanager.appservice.models.Secret

public final class Secret extends Object
Container App Secret.
  • Constructor Details

    • Secret

      public Secret()
  • Method Details

    • name

      public String name()
      Get the name property: Secret Name.
      Returns:
      the name value.
    • withName

      public Secret withName(String name)
      Set the name property: Secret Name.
      Parameters:
      name - the name value to set.
      Returns:
      the Secret object itself.
    • value

      public String value()
      Get the value property: Secret Value.
      Returns:
      the value value.
    • withValue

      public Secret withValue(String value)
      Set the value property: Secret Value.
      Parameters:
      value - the value value to set.
      Returns:
      the Secret object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.