CopySink Class

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

public class CopySink

A copy activity sink.

Constructor Summary

Constructor Description
CopySink()

Creates an instance of CopySink class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: A copy activity sink.

Object disableMetricsCollection()

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

Object maxConcurrentConnections()

Get the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.

Object sinkRetryCount()

Get the sinkRetryCount property: Sink retry count.

Object sinkRetryWait()

Get the sinkRetryWait property: Sink retry wait.

String type()

Get the type property: Copy sink type.

void validate()

Validates the instance.

CopySink withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: A copy activity sink.

CopySink withDisableMetricsCollection(Object disableMetricsCollection)

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

CopySink withMaxConcurrentConnections(Object maxConcurrentConnections)

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

CopySink withSinkRetryCount(Object sinkRetryCount)

Set the sinkRetryCount property: Sink retry count.

CopySink withSinkRetryWait(Object sinkRetryWait)

Set the sinkRetryWait property: Sink retry wait.

CopySink withWriteBatchSize(Object writeBatchSize)

Set the writeBatchSize property: Write batch size.

CopySink withWriteBatchTimeout(Object writeBatchTimeout)

Set the writeBatchTimeout property: Write batch timeout.

Object writeBatchSize()

Get the writeBatchSize property: Write batch size.

Object writeBatchTimeout()

Get the writeBatchTimeout property: Write batch timeout.

Methods inherited from java.lang.Object

Constructor Details

CopySink

public CopySink()

Creates an instance of CopySink class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: A copy activity sink.

Returns:

the additionalProperties value.

disableMetricsCollection

public Object disableMetricsCollection()

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

Returns:

the disableMetricsCollection value.

maxConcurrentConnections

public Object maxConcurrentConnections()

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

Returns:

the maxConcurrentConnections value.

sinkRetryCount

public Object sinkRetryCount()

Get the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).

Returns:

the sinkRetryCount value.

sinkRetryWait

public Object sinkRetryWait()

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

Returns:

the sinkRetryWait value.

type

public String type()

Get the type property: Copy sink type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public CopySink withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: A copy activity sink.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the CopySink object itself.

withDisableMetricsCollection

public CopySink withDisableMetricsCollection(Object disableMetricsCollection)

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

Parameters:

disableMetricsCollection - the disableMetricsCollection value to set.

Returns:

the CopySink object itself.

withMaxConcurrentConnections

public CopySink withMaxConcurrentConnections(Object maxConcurrentConnections)

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

Parameters:

maxConcurrentConnections - the maxConcurrentConnections value to set.

Returns:

the CopySink object itself.

withSinkRetryCount

public CopySink withSinkRetryCount(Object sinkRetryCount)

Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).

Parameters:

sinkRetryCount - the sinkRetryCount value to set.

Returns:

the CopySink object itself.

withSinkRetryWait

public CopySink withSinkRetryWait(Object sinkRetryWait)

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

Parameters:

sinkRetryWait - the sinkRetryWait value to set.

Returns:

the CopySink object itself.

withWriteBatchSize

public CopySink withWriteBatchSize(Object writeBatchSize)

Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.

Parameters:

writeBatchSize - the writeBatchSize value to set.

Returns:

the CopySink object itself.

withWriteBatchTimeout

public CopySink withWriteBatchTimeout(Object writeBatchTimeout)

Set the writeBatchTimeout property: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Parameters:

writeBatchTimeout - the writeBatchTimeout value to set.

Returns:

the CopySink object itself.

writeBatchSize

public Object writeBatchSize()

Get the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.

Returns:

the writeBatchSize value.

writeBatchTimeout

public Object writeBatchTimeout()

Get the writeBatchTimeout property: Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Returns:

the writeBatchTimeout value.

Applies to