public final class RestSource extends CopySource
| Constructor and Description |
|---|
RestSource() |
| Modifier and Type | Method and Description |
|---|---|
Object |
additionalColumns()
Get the additionalColumns property: Specifies the additional columns to be added to source data.
|
Object |
additionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Object |
httpRequestTimeout()
Get the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
Object |
paginationRules()
Get the paginationRules property: The pagination rules to compose next page requests.
|
Object |
requestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
Object |
requestInterval()
Get the requestInterval property: The time to await before sending next page request.
|
Object |
requestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
void |
validate()
Validates the instance.
|
RestSource |
withAdditionalColumns(Object additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data.
|
RestSource |
withAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
RestSource |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
RestSource |
withHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
RestSource |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
RestSource |
withPaginationRules(Object paginationRules)
Set the paginationRules property: The pagination rules to compose next page requests.
|
RestSource |
withRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
RestSource |
withRequestInterval(Object requestInterval)
Set the requestInterval property: The time to await before sending next page request.
|
RestSource |
withRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
RestSource |
withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count.
|
RestSource |
withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, sourceRetryCount, sourceRetryWait, withAdditionalPropertiespublic Object requestMethod()
public RestSource withRequestMethod(Object requestMethod)
requestMethod - the requestMethod value to set.public Object requestBody()
public RestSource withRequestBody(Object requestBody)
requestBody - the requestBody value to set.public Object additionalHeaders()
public RestSource withAdditionalHeaders(Object additionalHeaders)
additionalHeaders - the additionalHeaders value to set.public Object paginationRules()
public RestSource withPaginationRules(Object paginationRules)
paginationRules - the paginationRules value to set.public Object httpRequestTimeout()
public RestSource withHttpRequestTimeout(Object httpRequestTimeout)
httpRequestTimeout - the httpRequestTimeout value to set.public Object requestInterval()
public RestSource withRequestInterval(Object requestInterval)
requestInterval - the requestInterval value to set.public Object additionalColumns()
public RestSource withAdditionalColumns(Object additionalColumns)
additionalColumns - the additionalColumns value to set.public RestSource withSourceRetryCount(Object sourceRetryCount)
withSourceRetryCount in class CopySourcesourceRetryCount - the sourceRetryCount value to set.public RestSource withSourceRetryWait(Object sourceRetryWait)
withSourceRetryWait in class CopySourcesourceRetryWait - the sourceRetryWait value to set.public RestSource withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class CopySourcemaxConcurrentConnections - the maxConcurrentConnections value to set.public RestSource withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class CopySourcedisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class CopySourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.