public final class CosmosDbSqlApiSink extends CopySink
| Constructor and Description |
|---|
CosmosDbSqlApiSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
CosmosDbSqlApiSink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
CosmosDbSqlApiSink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
CosmosDbSqlApiSink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
CosmosDbSqlApiSink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
CosmosDbSqlApiSink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
CosmosDbSqlApiSink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
CosmosDbSqlApiSink |
withWriteBehavior(Object writeBehavior)
Set the writeBehavior property: Describes how to write data to Azure Cosmos DB.
|
Object |
writeBehavior()
Get the writeBehavior property: Describes how to write data to Azure Cosmos DB.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object writeBehavior()
public CosmosDbSqlApiSink withWriteBehavior(Object writeBehavior)
writeBehavior - the writeBehavior value to set.public CosmosDbSqlApiSink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public CosmosDbSqlApiSink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public CosmosDbSqlApiSink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public CosmosDbSqlApiSink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public CosmosDbSqlApiSink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public CosmosDbSqlApiSink withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class CopySinkdisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class CopySinkIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.