public final class CosmosDbMongoDbApiSink extends CopySink
| Constructor and Description |
|---|
CosmosDbMongoDbApiSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
CosmosDbMongoDbApiSink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
CosmosDbMongoDbApiSink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
CosmosDbMongoDbApiSink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
CosmosDbMongoDbApiSink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
CosmosDbMongoDbApiSink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
CosmosDbMongoDbApiSink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
CosmosDbMongoDbApiSink |
withWriteBehavior(Object writeBehavior)
Set the writeBehavior property: Specifies whether the document with same key to be overwritten (upsert) rather
than throw exception (insert).
|
Object |
writeBehavior()
Get the writeBehavior property: Specifies whether the document with same key to be overwritten (upsert) rather
than throw exception (insert).
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object writeBehavior()
public CosmosDbMongoDbApiSink withWriteBehavior(Object writeBehavior)
writeBehavior - the writeBehavior value to set.public CosmosDbMongoDbApiSink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public CosmosDbMongoDbApiSink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public CosmosDbMongoDbApiSink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public CosmosDbMongoDbApiSink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public CosmosDbMongoDbApiSink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public CosmosDbMongoDbApiSink 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.