MapperConnection Class

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

Implements

public final class MapperConnection
implements JsonSerializable<MapperConnection>

Source connection details.

Constructor Summary

Constructor Description
MapperConnection()

Creates an instance of MapperConnection class.

Method Summary

Modifier and Type Method and Description
List<MapperDslConnectorProperties> commonDslConnectorProperties()

Get the commonDslConnectorProperties property: List of name/value pairs for connection properties.

static MapperConnection fromJson(JsonReader jsonReader)

Reads an instance of MapperConnection from the JsonReader.

Boolean isInlineDataset()

Get the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset.

LinkedServiceReference linkedService()

Get the linkedService property: Linked service reference.

String linkedServiceType()

Get the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS.

JsonWriter toJson(JsonWriter jsonWriter)
ConnectionType type()

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

void validate()

Validates the instance.

MapperConnection withCommonDslConnectorProperties(List<MapperDslConnectorProperties> commonDslConnectorProperties)

Set the commonDslConnectorProperties property: List of name/value pairs for connection properties.

MapperConnection withIsInlineDataset(Boolean isInlineDataset)

Set the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset.

MapperConnection withLinkedService(LinkedServiceReference linkedService)

Set the linkedService property: Linked service reference.

MapperConnection withLinkedServiceType(String linkedServiceType)

Set the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS.

MapperConnection withType(ConnectionType type)

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

Methods inherited from java.lang.Object

Constructor Details

MapperConnection

public MapperConnection()

Creates an instance of MapperConnection class.

Method Details

commonDslConnectorProperties

public List<MapperDslConnectorProperties> commonDslConnectorProperties()

Get the commonDslConnectorProperties property: List of name/value pairs for connection properties.

Returns:

the commonDslConnectorProperties value.

fromJson

public static MapperConnection fromJson(JsonReader jsonReader)

Reads an instance of MapperConnection from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isInlineDataset

public Boolean isInlineDataset()

Get the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported.

Returns:

the isInlineDataset value.

linkedService

public LinkedServiceReference linkedService()

Get the linkedService property: Linked service reference.

Returns:

the linkedService value.

linkedServiceType

public String linkedServiceType()

Get the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS.

Returns:

the linkedServiceType value.

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.

withCommonDslConnectorProperties

public MapperConnection withCommonDslConnectorProperties(List<MapperDslConnectorProperties> commonDslConnectorProperties)

Set the commonDslConnectorProperties property: List of name/value pairs for connection properties.

Parameters:

commonDslConnectorProperties - the commonDslConnectorProperties value to set.

Returns:

the MapperConnection object itself.

withIsInlineDataset

public MapperConnection withIsInlineDataset(Boolean isInlineDataset)

Set the isInlineDataset property: A boolean indicating whether linked service is of type inline dataset. Currently only inline datasets are supported.

Parameters:

isInlineDataset - the isInlineDataset value to set.

Returns:

the MapperConnection object itself.

withLinkedService

public MapperConnection withLinkedService(LinkedServiceReference linkedService)

Set the linkedService property: Linked service reference.

Parameters:

linkedService - the linkedService value to set.

Returns:

the MapperConnection object itself.

withLinkedServiceType

public MapperConnection withLinkedServiceType(String linkedServiceType)

Set the linkedServiceType property: Type of the linked service e.g.: AzureBlobFS.

Parameters:

linkedServiceType - the linkedServiceType value to set.

Returns:

the MapperConnection object itself.

withType

public MapperConnection withType(ConnectionType type)

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

Parameters:

type - the type value to set.

Returns:

the MapperConnection object itself.

Applies to