Share via


ParameterSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.ParameterSpecification

Implements

public final class ParameterSpecification
implements JsonSerializable<ParameterSpecification>

Definition of a single parameter for an entity.

Constructor Summary

Constructor Description
ParameterSpecification()

Creates an instance of ParameterSpecification class.

Method Summary

Modifier and Type Method and Description
Object defaultValue()

Get the defaultValue property: Default value of parameter.

static ParameterSpecification fromJson(JsonReader jsonReader)

Reads an instance of ParameterSpecification from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ParameterType type()

Get the type property: Parameter type.

void validate()

Validates the instance.

ParameterSpecification withDefaultValue(Object defaultValue)

Set the defaultValue property: Default value of parameter.

ParameterSpecification withType(ParameterType type)

Set the type property: Parameter type.

Methods inherited from java.lang.Object

Constructor Details

ParameterSpecification

public ParameterSpecification()

Creates an instance of ParameterSpecification class.

Method Details

defaultValue

public Object defaultValue()

Get the defaultValue property: Default value of parameter.

Returns:

the defaultValue value.

fromJson

public static ParameterSpecification fromJson(JsonReader jsonReader)

Reads an instance of ParameterSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ParameterSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ParameterType type()

Get the type property: Parameter type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

withType

public ParameterSpecification withType(ParameterType type)

Set the type property: Parameter type.

Parameters:

type - the type value to set.

Returns:

the ParameterSpecification object itself.

Applies to