Class VariableSpecification
java.lang.Object
com.azure.resourcemanager.datafactory.models.VariableSpecification
Definition of a single variable for a Pipeline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the defaultValue property: Default value of variable.type()
Get the type property: Variable type.void
validate()
Validates the instance.withDefaultValue
(Object defaultValue) Set the defaultValue property: Default value of variable.withType
(VariableType type) Set the type property: Variable type.
-
Constructor Details
-
VariableSpecification
public VariableSpecification()Creates an instance of VariableSpecification class.
-
-
Method Details
-
type
Get the type property: Variable type.- Returns:
- the type value.
-
withType
Set the type property: Variable type.- Parameters:
type
- the type value to set.- Returns:
- the VariableSpecification object itself.
-
defaultValue
Get the defaultValue property: Default value of variable.- Returns:
- the defaultValue value.
-
withDefaultValue
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.
-