Class VariableCreateOrUpdateParameters

java.lang.Object
com.azure.resourcemanager.automation.models.VariableCreateOrUpdateParameters

public final class VariableCreateOrUpdateParameters extends Object
The parameters supplied to the create or update variable operation.
  • Constructor Details

    • VariableCreateOrUpdateParameters

      public VariableCreateOrUpdateParameters()
  • Method Details

    • name

      public String name()
      Get the name property: Gets or sets the name of the variable.
      Returns:
      the name value.
    • withName

      public VariableCreateOrUpdateParameters withName(String name)
      Set the name property: Gets or sets the name of the variable.
      Parameters:
      name - the name value to set.
      Returns:
      the VariableCreateOrUpdateParameters object itself.
    • value

      public String value()
      Get the value property: Gets or sets the value of the variable.
      Returns:
      the value value.
    • withValue

      public VariableCreateOrUpdateParameters withValue(String value)
      Set the value property: Gets or sets the value of the variable.
      Parameters:
      value - the value value to set.
      Returns:
      the VariableCreateOrUpdateParameters object itself.
    • description

      public String description()
      Get the description property: Gets or sets the description of the variable.
      Returns:
      the description value.
    • withDescription

      public VariableCreateOrUpdateParameters withDescription(String description)
      Set the description property: Gets or sets the description of the variable.
      Parameters:
      description - the description value to set.
      Returns:
      the VariableCreateOrUpdateParameters object itself.
    • isEncrypted

      public Boolean isEncrypted()
      Get the isEncrypted property: Gets or sets the encrypted flag of the variable.
      Returns:
      the isEncrypted value.
    • withIsEncrypted

      public VariableCreateOrUpdateParameters withIsEncrypted(Boolean isEncrypted)
      Set the isEncrypted property: Gets or sets the encrypted flag of the variable.
      Parameters:
      isEncrypted - the isEncrypted value to set.
      Returns:
      the VariableCreateOrUpdateParameters object itself.
    • validate

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