CustomDataSourceLinkedService Class

public final class CustomDataSourceLinkedService
extends LinkedService

Custom linked service.

Constructor Summary

Constructor Description
CustomDataSourceLinkedService()

Creates an instance of CustomDataSourceLinkedService class.

Method Summary

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

Reads an instance of CustomDataSourceLinkedService from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of linked service.

Object typeProperties()

Get the typeProperties property: Custom linked service properties.

void validate()

Validates the instance.

CustomDataSourceLinkedService withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

CustomDataSourceLinkedService withConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

CustomDataSourceLinkedService withDescription(String description)

Set the description property: Linked service description.

CustomDataSourceLinkedService withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

CustomDataSourceLinkedService withTypeProperties(Object typeProperties)

Set the typeProperties property: Custom linked service properties.

CustomDataSourceLinkedService withVersion(String version)

Set the version property: Version of the linked service.

Methods inherited from LinkedService

Methods inherited from java.lang.Object

Constructor Details

CustomDataSourceLinkedService

public CustomDataSourceLinkedService()

Creates an instance of CustomDataSourceLinkedService class.

Method Details

fromJson

public static CustomDataSourceLinkedService fromJson(JsonReader jsonReader)

Reads an instance of CustomDataSourceLinkedService from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomDataSourceLinkedService 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)

Overrides:

CustomDataSourceLinkedService.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of linked service.

Overrides:

CustomDataSourceLinkedService.type()

Returns:

the type value.

typeProperties

public Object typeProperties()

Get the typeProperties property: Custom linked service properties.

Returns:

the typeProperties value.

validate

public void validate()

Validates the instance.

Overrides:

CustomDataSourceLinkedService.validate()

withAnnotations

public CustomDataSourceLinkedService withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the linked service.

Overrides:

CustomDataSourceLinkedService.withAnnotations(List<Object> annotations)

Parameters:

annotations

withConnectVia

public CustomDataSourceLinkedService withConnectVia(IntegrationRuntimeReference connectVia)

Set the connectVia property: The integration runtime reference.

Overrides:

CustomDataSourceLinkedService.withConnectVia(IntegrationRuntimeReference connectVia)

Parameters:

connectVia

withDescription

public CustomDataSourceLinkedService withDescription(String description)

Set the description property: Linked service description.

Overrides:

CustomDataSourceLinkedService.withDescription(String description)

Parameters:

description

withParameters

public CustomDataSourceLinkedService withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for linked service.

Overrides:

CustomDataSourceLinkedService.withParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

withTypeProperties

public CustomDataSourceLinkedService withTypeProperties(Object typeProperties)

Set the typeProperties property: Custom linked service properties.

Parameters:

typeProperties - the typeProperties value to set.

Returns:

the CustomDataSourceLinkedService object itself.

withVersion

public CustomDataSourceLinkedService withVersion(String version)

Set the version property: Version of the linked service.

Overrides:

CustomDataSourceLinkedService.withVersion(String version)

Parameters:

version

Applies to