Class VariableUpdateParameters

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

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

    • VariableUpdateParameters

      public VariableUpdateParameters()
  • Method Details

    • name

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

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

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

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

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

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

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