Class RunbookParameter

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

public final class RunbookParameter extends Object
Definition of the runbook parameter type.
  • Constructor Details

    • RunbookParameter

      public RunbookParameter()
  • Method Details

    • type

      public String type()
      Get the type property: Gets or sets the type of the parameter.
      Returns:
      the type value.
    • withType

      public RunbookParameter withType(String type)
      Set the type property: Gets or sets the type of the parameter.
      Parameters:
      type - the type value to set.
      Returns:
      the RunbookParameter object itself.
    • isMandatory

      public Boolean isMandatory()
      Get the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
      Returns:
      the isMandatory value.
    • withIsMandatory

      public RunbookParameter withIsMandatory(Boolean isMandatory)
      Set the isMandatory property: Gets or sets a Boolean value to indicate whether the parameter is mandatory or not.
      Parameters:
      isMandatory - the isMandatory value to set.
      Returns:
      the RunbookParameter object itself.
    • position

      public Integer position()
      Get the position property: Get or sets the position of the parameter.
      Returns:
      the position value.
    • withPosition

      public RunbookParameter withPosition(Integer position)
      Set the position property: Get or sets the position of the parameter.
      Parameters:
      position - the position value to set.
      Returns:
      the RunbookParameter object itself.
    • defaultValue

      public String defaultValue()
      Get the defaultValue property: Gets or sets the default value of parameter.
      Returns:
      the defaultValue value.
    • withDefaultValue

      public RunbookParameter withDefaultValue(String defaultValue)
      Set the defaultValue property: Gets or sets the default value of parameter.
      Parameters:
      defaultValue - the defaultValue value to set.
      Returns:
      the RunbookParameter object itself.
    • validate

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