Class HttpReadSettings
java.lang.Object
com.azure.resourcemanager.datafactory.models.StoreReadSettings
com.azure.resourcemanager.datafactory.models.HttpReadSettings
Sftp read settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.Get the partitionRootPath property: Specify the root path where partition discovery starts from.Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.Get the requestMethod property: The HTTP method used to call the RESTful API.Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.voidvalidate()Validates the instance.withAdditionalHeaders(Object additionalHeaders) Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.withDisableMetricsCollection(Object disableMetricsCollection) Set the disableMetricsCollection property: If true, disable data store metrics collection.withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.withMaxConcurrentConnections(Object maxConcurrentConnections) Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.withPartitionRootPath(Object partitionRootPath) Set the partitionRootPath property: Specify the root path where partition discovery starts from.withRequestBody(Object requestBody) Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.withRequestMethod(Object requestMethod) Set the requestMethod property: The HTTP method used to call the RESTful API.withRequestTimeout(Object requestTimeout) Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.Methods inherited from class com.azure.resourcemanager.datafactory.models.StoreReadSettings
additionalProperties, disableMetricsCollection, maxConcurrentConnections, withAdditionalProperties
-
Constructor Details
-
HttpReadSettings
public HttpReadSettings()Creates an instance of HttpReadSettings class.
-
-
Method Details
-
requestMethod
Get the requestMethod property: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).- Returns:
- the requestMethod value.
-
withRequestMethod
Set the requestMethod property: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).- Parameters:
requestMethod- the requestMethod value to set.- Returns:
- the HttpReadSettings object itself.
-
requestBody
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).- Returns:
- the requestBody value.
-
withRequestBody
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).- Parameters:
requestBody- the requestBody value to set.- Returns:
- the HttpReadSettings object itself.
-
additionalHeaders
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).- Returns:
- the additionalHeaders value.
-
withAdditionalHeaders
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).- Parameters:
additionalHeaders- the additionalHeaders value to set.- Returns:
- the HttpReadSettings object itself.
-
requestTimeout
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.- Returns:
- the requestTimeout value.
-
withRequestTimeout
Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.- Parameters:
requestTimeout- the requestTimeout value to set.- Returns:
- the HttpReadSettings object itself.
-
enablePartitionDiscovery
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Returns:
- the enablePartitionDiscovery value.
-
withEnablePartitionDiscovery
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Parameters:
enablePartitionDiscovery- the enablePartitionDiscovery value to set.- Returns:
- the HttpReadSettings object itself.
-
partitionRootPath
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Returns:
- the partitionRootPath value.
-
withPartitionRootPath
Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Parameters:
partitionRootPath- the partitionRootPath value to set.- Returns:
- the HttpReadSettings object itself.
-
withMaxConcurrentConnections
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Overrides:
withMaxConcurrentConnectionsin classStoreReadSettings- Parameters:
maxConcurrentConnections- the maxConcurrentConnections value to set.- Returns:
- the StoreReadSettings object itself.
-
withDisableMetricsCollection
Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).- Overrides:
withDisableMetricsCollectionin classStoreReadSettings- Parameters:
disableMetricsCollection- the disableMetricsCollection value to set.- Returns:
- the StoreReadSettings object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classStoreReadSettings- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-