public final class RestSink extends CopySink
| Constructor and Description |
|---|
RestSink() |
| Modifier and Type | Method and Description |
|---|---|
Object |
additionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Object |
httpCompressionType()
Get the httpCompressionType property: Http Compression Type to Send data in compressed format with Optimal
Compression Level, Default is None.
|
Object |
httpRequestTimeout()
Get the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
Object |
requestInterval()
Get the requestInterval property: The time to await before sending next request, in milliseconds.
|
Object |
requestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
void |
validate()
Validates the instance.
|
RestSink |
withAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
RestSink |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
RestSink |
withHttpCompressionType(Object httpCompressionType)
Set the httpCompressionType property: Http Compression Type to Send data in compressed format with Optimal
Compression Level, Default is None.
|
RestSink |
withHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
RestSink |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the sink data store.
|
RestSink |
withRequestInterval(Object requestInterval)
Set the requestInterval property: The time to await before sending next request, in milliseconds.
|
RestSink |
withRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
RestSink |
withSinkRetryCount(Object sinkRetryCount)
Set the sinkRetryCount property: Sink retry count.
|
RestSink |
withSinkRetryWait(Object sinkRetryWait)
Set the sinkRetryWait property: Sink retry wait.
|
RestSink |
withWriteBatchSize(Object writeBatchSize)
Set the writeBatchSize property: Write batch size.
|
RestSink |
withWriteBatchTimeout(Object writeBatchTimeout)
Set the writeBatchTimeout property: Write batch timeout.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sinkRetryCount, sinkRetryWait, withAdditionalProperties, writeBatchSize, writeBatchTimeoutpublic Object requestMethod()
public RestSink withRequestMethod(Object requestMethod)
requestMethod - the requestMethod value to set.public Object additionalHeaders()
public RestSink withAdditionalHeaders(Object additionalHeaders)
additionalHeaders - the additionalHeaders value to set.public Object httpRequestTimeout()
public RestSink withHttpRequestTimeout(Object httpRequestTimeout)
httpRequestTimeout - the httpRequestTimeout value to set.public Object requestInterval()
public RestSink withRequestInterval(Object requestInterval)
requestInterval - the requestInterval value to set.public Object httpCompressionType()
public RestSink withHttpCompressionType(Object httpCompressionType)
httpCompressionType - the httpCompressionType value to set.public RestSink withWriteBatchSize(Object writeBatchSize)
withWriteBatchSize in class CopySinkwriteBatchSize - the writeBatchSize value to set.public RestSink withWriteBatchTimeout(Object writeBatchTimeout)
withWriteBatchTimeout in class CopySinkwriteBatchTimeout - the writeBatchTimeout value to set.public RestSink withSinkRetryCount(Object sinkRetryCount)
withSinkRetryCount in class CopySinksinkRetryCount - the sinkRetryCount value to set.public RestSink withSinkRetryWait(Object sinkRetryWait)
withSinkRetryWait in class CopySinksinkRetryWait - the sinkRetryWait value to set.public RestSink withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySinkmaxConcurrentConnections - the maxConcurrentConnections value to set.public RestSink 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.