Class VariableSpecification

java.lang.Object
com.azure.resourcemanager.datafactory.models.VariableSpecification

public final class VariableSpecification extends Object
Definition of a single variable for a Pipeline.
  • Constructor Details

    • VariableSpecification

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

    • type

      public VariableType type()
      Get the type property: Variable type.
      Returns:
      the type value.
    • withType

      public VariableSpecification withType(VariableType type)
      Set the type property: Variable type.
      Parameters:
      type - the type value to set.
      Returns:
      the VariableSpecification object itself.
    • defaultValue

      public Object defaultValue()
      Get the defaultValue property: Default value of variable.
      Returns:
      the defaultValue value.
    • withDefaultValue

      public VariableSpecification withDefaultValue(Object defaultValue)
      Set the defaultValue property: Default value of variable.
      Parameters:
      defaultValue - the defaultValue value to set.
      Returns:
      the VariableSpecification object itself.
    • validate

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