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 Summary
Constructors Constructor Description VariableSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
defaultValue()
Get the defaultValue property: Default value of variable.VariableType
type()
Get the type property: Variable type.void
validate()
Validates the instance.VariableSpecification
withDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of variable.VariableSpecification
withType(VariableType type)
Set the type property: Variable type.
-
-
-
Method Detail
-
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.
-
-