DynamicsSource Class

public final class DynamicsSource
extends CopySource

A copy activity Dynamics source.

Constructor Summary

Constructor Description
DynamicsSource()

Creates an instance of DynamicsSource class.

Method Summary

Modifier and Type Method and Description
Object additionalColumns()

Get the additionalColumns property: Specifies the additional columns to be added to source data.

static DynamicsSource fromJson(JsonReader jsonReader)

Reads an instance of DynamicsSource from the JsonReader.

Object query()

Get the query property: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises).

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Copy source type.

void validate()

Validates the instance.

DynamicsSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data.

DynamicsSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection.

DynamicsSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.

DynamicsSource withQuery(Object query)

Set the query property: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises).

DynamicsSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count.

DynamicsSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait.

Methods inherited from CopySource

Methods inherited from java.lang.Object

Constructor Details

DynamicsSource

public DynamicsSource()

Creates an instance of DynamicsSource class.

Method Details

additionalColumns

public Object additionalColumns()

Get the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).

Returns:

the additionalColumns value.

fromJson

public static DynamicsSource fromJson(JsonReader jsonReader)

Reads an instance of DynamicsSource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

query

public Object query()

Get the query property: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string).

Returns:

the query value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DynamicsSource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Copy source type.

Overrides:

DynamicsSource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

DynamicsSource.validate()

withAdditionalColumns

public DynamicsSource withAdditionalColumns(Object additionalColumns)

Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).

Parameters:

additionalColumns - the additionalColumns value to set.

Returns:

the DynamicsSource object itself.

withDisableMetricsCollection

public DynamicsSource withDisableMetricsCollection(Object disableMetricsCollection)

Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).

Overrides:

DynamicsSource.withDisableMetricsCollection(Object disableMetricsCollection)

Parameters:

disableMetricsCollection

withMaxConcurrentConnections

public DynamicsSource withMaxConcurrentConnections(Object maxConcurrentConnections)

Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).

Overrides:

DynamicsSource.withMaxConcurrentConnections(Object maxConcurrentConnections)

Parameters:

maxConcurrentConnections

withQuery

public DynamicsSource withQuery(Object query)

Set the query property: FetchXML is a proprietary query language that is used in Microsoft Dynamics (online & on-premises). Type: string (or Expression with resultType string).

Parameters:

query - the query value to set.

Returns:

the DynamicsSource object itself.

withSourceRetryCount

public DynamicsSource withSourceRetryCount(Object sourceRetryCount)

Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).

Overrides:

DynamicsSource.withSourceRetryCount(Object sourceRetryCount)

Parameters:

sourceRetryCount

withSourceRetryWait

public DynamicsSource withSourceRetryWait(Object sourceRetryWait)

Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Overrides:

DynamicsSource.withSourceRetryWait(Object sourceRetryWait)

Parameters:

sourceRetryWait

Applies to