Class ParameterSpecification
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.ParameterSpecification
-
public final class ParameterSpecification extends Object
Definition of a single parameter for an entity.
-
-
Constructor Summary
Constructors Constructor Description ParameterSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdefaultValue()Get the defaultValue property: Default value of parameter.ParameterTypetype()Get the type property: Parameter type.voidvalidate()Validates the instance.ParameterSpecificationwithDefaultValue(Object defaultValue)Set the defaultValue property: Default value of parameter.ParameterSpecificationwithType(ParameterType type)Set the type property: Parameter type.
-
-
-
Method Detail
-
type
public ParameterType type()
Get the type property: Parameter type.- Returns:
- the type value.
-
withType
public ParameterSpecification withType(ParameterType type)
Set the type property: Parameter type.- Parameters:
type- the type value to set.- Returns:
- the ParameterSpecification object itself.
-
defaultValue
public Object defaultValue()
Get the defaultValue property: Default value of parameter.- Returns:
- the defaultValue value.
-
withDefaultValue
public ParameterSpecification withDefaultValue(Object defaultValue)
Set the defaultValue property: Default value of parameter.- Parameters:
defaultValue- the defaultValue value to set.- Returns:
- the ParameterSpecification object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-