MapperConnectionReference Class

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

Implements

public final class MapperConnectionReference
implements JsonSerializable<MapperConnectionReference>

Source or target connection reference details.

Constructor Summary

Constructor Description
MapperConnectionReference()

Creates an instance of MapperConnectionReference class.

Method Summary

Modifier and Type Method and Description
String connectionName()

Get the connectionName property: Name of the connection.

static MapperConnectionReference fromJson(JsonReader jsonReader)

Reads an instance of MapperConnectionReference from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ConnectionType type()

Get the type property: Type of connection via linked service or dataset.

void validate()

Validates the instance.

MapperConnectionReference withConnectionName(String connectionName)

Set the connectionName property: Name of the connection.

MapperConnectionReference withType(ConnectionType type)

Set the type property: Type of connection via linked service or dataset.

Methods inherited from java.lang.Object

Constructor Details

MapperConnectionReference

public MapperConnectionReference()

Creates an instance of MapperConnectionReference class.

Method Details

connectionName

public String connectionName()

Get the connectionName property: Name of the connection.

Returns:

the connectionName value.

fromJson

public static MapperConnectionReference fromJson(JsonReader jsonReader)

Reads an instance of MapperConnectionReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the MapperConnectionReference.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ConnectionType type()

Get the type property: Type of connection via linked service or dataset.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withConnectionName

public MapperConnectionReference withConnectionName(String connectionName)

Set the connectionName property: Name of the connection.

Parameters:

connectionName - the connectionName value to set.

Returns:

the MapperConnectionReference object itself.

withType

public MapperConnectionReference withType(ConnectionType type)

Set the type property: Type of connection via linked service or dataset.

Parameters:

type - the type value to set.

Returns:

the MapperConnectionReference object itself.

Applies to