VariableSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. VariableSpecification
- com.
Implements
public final class VariableSpecification
implements JsonSerializable<VariableSpecification>
Definition of a single variable for a Pipeline.
Constructor Summary
| Constructor | Description |
|---|---|
| VariableSpecification() |
Creates an instance of Variable |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
defaultValue()
Get the default |
|
static
Variable |
fromJson(JsonReader jsonReader)
Reads an instance of Variable |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Variable |
type()
Get the type property: Variable type. |
| void |
validate()
Validates the instance. |
|
Variable |
withDefaultValue(Object defaultValue)
Set the default |
|
Variable |
withType(VariableType type)
Set the type property: Variable type. |
Methods inherited from java.lang.Object
Constructor Details
VariableSpecification
public VariableSpecification()
Creates an instance of VariableSpecification class.
Method Details
defaultValue
public Object defaultValue()
Get the defaultValue property: Default value of variable.
Returns:
fromJson
public static VariableSpecification fromJson(JsonReader jsonReader)
Reads an instance of VariableSpecification from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public VariableType type()
Get the type property: Variable type.
Returns:
validate
public void validate()
Validates the instance.
withDefaultValue
public VariableSpecification withDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of variable.
Parameters:
Returns:
withType
public VariableSpecification withType(VariableType type)
Set the type property: Variable type.
Parameters:
Returns: