Class AzureSearchIndexSink
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CopySink
-
- com.azure.resourcemanager.datafactory.models.AzureSearchIndexSink
-
public final class AzureSearchIndexSink extends CopySink
A copy activity Azure Search Index sink.
-
-
Constructor Summary
Constructors Constructor Description AzureSearchIndexSink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.AzureSearchIndexSinkwithDisableMetricsCollection(Object disableMetricsCollection)Set the disableMetricsCollection property: If true, disable data store metrics collection.AzureSearchIndexSinkwithMaxConcurrentConnections(Object maxConcurrentConnections)Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.AzureSearchIndexSinkwithSinkRetryCount(Object sinkRetryCount)Set the sinkRetryCount property: Sink retry count.AzureSearchIndexSinkwithSinkRetryWait(Object sinkRetryWait)Set the sinkRetryWait property: Sink retry wait.AzureSearchIndexSinkwithWriteBatchSize(Object writeBatchSize)Set the writeBatchSize property: Write batch size.AzureSearchIndexSinkwithWriteBatchTimeout(Object writeBatchTimeout)Set the writeBatchTimeout property: Write batch timeout.AzureSearchIndexSinkwithWriteBehavior(AzureSearchIndexWriteBehaviorType writeBehavior)Set the writeBehavior property: Specify the write behavior when upserting documents into Azure Search Index.AzureSearchIndexWriteBehaviorTypewriteBehavior()Get the writeBehavior property: Specify the write behavior when upserting documents into Azure Search Index.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.CopySink
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeout
-
-
-
-
Method Detail
-
writeBehavior
public AzureSearchIndexWriteBehaviorType writeBehavior()
Get the writeBehavior property: Specify the write behavior when upserting documents into Azure Search Index.- Returns:
- the writeBehavior value.
-
withWriteBehavior
public AzureSearchIndexSink withWriteBehavior(AzureSearchIndexWriteBehaviorType writeBehavior)
Set the writeBehavior property: Specify the write behavior when upserting documents into Azure Search Index.- Parameters:
writeBehavior- the writeBehavior value to set.- Returns:
- the AzureSearchIndexSink object itself.
-
withWriteBatchSize
public AzureSearchIndexSink withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size. Type: integer (or Expression with resultType integer), minimum: 0.- Overrides:
withWriteBatchSizein classCopySink- Parameters:
writeBatchSize- the writeBatchSize value to set.- Returns:
- the CopySink object itself.
-
withWriteBatchTimeout
public AzureSearchIndexSink 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])).- Overrides:
withWriteBatchTimeoutin classCopySink- Parameters:
writeBatchTimeout- the writeBatchTimeout value to set.- Returns:
- the CopySink object itself.
-
withSinkRetryCount
public AzureSearchIndexSink withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count. Type: integer (or Expression with resultType integer).- Overrides:
withSinkRetryCountin classCopySink- Parameters:
sinkRetryCount- the sinkRetryCount value to set.- Returns:
- the CopySink object itself.
-
withSinkRetryWait
public AzureSearchIndexSink 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])).- Overrides:
withSinkRetryWaitin classCopySink- Parameters:
sinkRetryWait- the sinkRetryWait value to set.- Returns:
- the CopySink object itself.
-
withMaxConcurrentConnections
public AzureSearchIndexSink withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer).- Overrides:
withMaxConcurrentConnectionsin classCopySink- Parameters:
maxConcurrentConnections- the maxConcurrentConnections value to set.- Returns:
- the CopySink object itself.
-
withDisableMetricsCollection
public AzureSearchIndexSink 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:
withDisableMetricsCollectionin classCopySink- Parameters:
disableMetricsCollection- the disableMetricsCollection value to set.- Returns:
- the CopySink object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classCopySink- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-