DatasetReference Class

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

Implements

public final class DatasetReference
implements JsonSerializable<DatasetReference>

Dataset reference type.

Constructor Summary

Constructor Description
DatasetReference()

Creates an instance of DatasetReference class.

Method Summary

Modifier and Type Method and Description
static DatasetReference fromJson(JsonReader jsonReader)

Reads an instance of DatasetReference from the JsonReader.

Map<String,Object> parameters()

Get the parameters property: Arguments for dataset.

String referenceName()

Get the referenceName property: Reference dataset name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Dataset reference type.

void validate()

Validates the instance.

DatasetReference withParameters(Map<String,Object> parameters)

Set the parameters property: Arguments for dataset.

DatasetReference withReferenceName(String referenceName)

Set the referenceName property: Reference dataset name.

Methods inherited from java.lang.Object

Constructor Details

DatasetReference

public DatasetReference()

Creates an instance of DatasetReference class.

Method Details

fromJson

public static DatasetReference fromJson(JsonReader jsonReader)

Reads an instance of DatasetReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatasetReference 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.

parameters

public Map<String,Object> parameters()

Get the parameters property: Arguments for dataset.

Returns:

the parameters value.

referenceName

public String referenceName()

Get the referenceName property: Reference dataset name.

Returns:

the referenceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Dataset reference type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withParameters

public DatasetReference withParameters(Map<String,Object> parameters)

Set the parameters property: Arguments for dataset.

Parameters:

parameters - the parameters value to set.

Returns:

the DatasetReference object itself.

withReferenceName

public DatasetReference withReferenceName(String referenceName)

Set the referenceName property: Reference dataset name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the DatasetReference object itself.

Applies to