Class CopySink
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CopySink
-
- Direct Known Subclasses:
AvroSink,AzureBlobFSSink,AzureDatabricksDeltaLakeSink,AzureDataExplorerSink,AzureDataLakeStoreSink,AzureMySqlSink,AzurePostgreSqlSink,AzureQueueSink,AzureSearchIndexSink,AzureSqlSink,AzureTableSink,BinarySink,BlobSink,CommonDataServiceForAppsSink,CosmosDbMongoDbApiSink,CosmosDbSqlApiSink,DelimitedTextSink,DocumentDbCollectionSink,DynamicsCrmSink,DynamicsSink,FileSystemSink,InformixSink,JsonSink,MicrosoftAccessSink,MongoDbAtlasSink,MongoDbV2Sink,OdbcSink,OracleSink,OrcSink,ParquetSink,RestSink,SalesforceServiceCloudSink,SalesforceSink,SapCloudForCustomerSink,SnowflakeSink,SqlDWSink,SqlMISink,SqlServerSink,SqlSink
public class CopySink extends Object
A copy activity sink.
-
-
Constructor Summary
Constructors Constructor Description CopySink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: A copy activity sink.ObjectdisableMetricsCollection()Get the disableMetricsCollection property: If true, disable data store metrics collection.ObjectmaxConcurrentConnections()Get the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.ObjectsinkRetryCount()Get the sinkRetryCount property: Sink retry count.ObjectsinkRetryWait()Get the sinkRetryWait property: Sink retry wait.voidvalidate()Validates the instance.CopySinkwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: A copy activity sink.CopySinkwithDisableMetricsCollection(Object disableMetricsCollection)Set the disableMetricsCollection property: If true, disable data store metrics collection.CopySinkwithMaxConcurrentConnections(Object maxConcurrentConnections)Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.CopySinkwithSinkRetryCount(Object sinkRetryCount)Set the sinkRetryCount property: Sink retry count.CopySinkwithSinkRetryWait(Object sinkRetryWait)Set the sinkRetryWait property: Sink retry wait.CopySinkwithWriteBatchSize(Object writeBatchSize)Set the writeBatchSize property: Write batch size.CopySinkwithWriteBatchTimeout(Object writeBatchTimeout)Set the writeBatchTimeout property: Write batch timeout.ObjectwriteBatchSize()Get the writeBatchSize property: Write batch size.ObjectwriteBatchTimeout()Get the writeBatchTimeout property: Write batch timeout.
-
-
-
Method Detail
-
writeBatchSize
public Object writeBatchSize()
Get the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the writeBatchSize value.
-
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.
-
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.
-
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.
-
sinkRetryCount
public Object sinkRetryCount()
Get the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).- Returns:
- the sinkRetryCount value.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: A copy activity sink.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public CopySink withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A copy activity sink.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the CopySink object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-