VariableSpecification Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. 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 |
|---|---|
|
static
Variable |
fromJson(JsonReader jsonReader)
Reads an instance of Variable |
| Object |
getDefaultValue()
Get the default |
|
Variable |
getType()
Get the type property: Variable type. |
|
Variable |
setDefaultValue(Object defaultValue)
Set the default |
|
Variable |
setType(VariableType type)
Set the type property: Variable type. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
VariableSpecification
public VariableSpecification()
Creates an instance of VariableSpecification class.
Method Details
fromJson
public static VariableSpecification fromJson(JsonReader jsonReader)
Reads an instance of VariableSpecification from the JsonReader.
Parameters:
Returns:
Throws:
getDefaultValue
public Object getDefaultValue()
Get the defaultValue property: Default value of variable.
Returns:
getType
public VariableType getType()
Get the type property: Variable type.
Returns:
setDefaultValue
public VariableSpecification setDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of variable.
Parameters:
Returns:
setType
public VariableSpecification setType(VariableType type)
Set the type property: Variable type.
Parameters:
Returns: