public final class HttpReadSettings extends StoreReadSettings
| Constructor and Description |
|---|
HttpReadSettings() |
| Modifier and Type | Method and Description |
|---|---|
Object |
additionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Boolean |
enablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
Object |
partitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from.
|
Object |
requestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
Object |
requestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
Object |
requestTimeout()
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
|
void |
validate()
Validates the instance.
|
HttpReadSettings |
withAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
HttpReadSettings |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disableMetricsCollection property: If true, disable data store metrics collection.
|
HttpReadSettings |
withEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
HttpReadSettings |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.
|
HttpReadSettings |
withPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from.
|
HttpReadSettings |
withRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
HttpReadSettings |
withRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
HttpReadSettings |
withRequestTimeout(Object requestTimeout)
Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
|
additionalProperties, disableMetricsCollection, maxConcurrentConnections, withAdditionalPropertiespublic Object requestMethod()
public HttpReadSettings withRequestMethod(Object requestMethod)
requestMethod - the requestMethod value to set.public Object requestBody()
public HttpReadSettings withRequestBody(Object requestBody)
requestBody - the requestBody value to set.public Object additionalHeaders()
public HttpReadSettings withAdditionalHeaders(Object additionalHeaders)
additionalHeaders - the additionalHeaders value to set.public Object requestTimeout()
public HttpReadSettings withRequestTimeout(Object requestTimeout)
requestTimeout - the requestTimeout value to set.public Boolean enablePartitionDiscovery()
public HttpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
enablePartitionDiscovery - the enablePartitionDiscovery value to set.public Object partitionRootPath()
public HttpReadSettings withPartitionRootPath(Object partitionRootPath)
partitionRootPath - the partitionRootPath value to set.public HttpReadSettings withMaxConcurrentConnections(Object maxConcurrentConnections)
withMaxConcurrentConnections in class StoreReadSettingsmaxConcurrentConnections - the maxConcurrentConnections value to set.public HttpReadSettings withDisableMetricsCollection(Object disableMetricsCollection)
withDisableMetricsCollection in class StoreReadSettingsdisableMetricsCollection - the disableMetricsCollection value to set.public void validate()
validate in class StoreReadSettingsIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.