Class HttpReadSettings
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.StoreReadSettings
-
- com.azure.analytics.synapse.artifacts.models.HttpReadSettings
-
public final class HttpReadSettings extends StoreReadSettings
Sftp read settings.
-
-
Constructor Summary
Constructors Constructor Description HttpReadSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getAdditionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.Object
getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from.Object
getRequestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.Object
getRequestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.Object
getRequestTimeout()
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.Boolean
isEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.HttpReadSettings
setAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.HttpReadSettings
setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.HttpReadSettings
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store.HttpReadSettings
setPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from.HttpReadSettings
setRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.HttpReadSettings
setRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.HttpReadSettings
setRequestTimeout(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.analytics.synapse.artifacts.models.StoreReadSettings
getAdditionalProperties, getMaxConcurrentConnections, setAdditionalProperties
-
-
-
-
Method Detail
-
getRequestMethod
public Object getRequestMethod()
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.
-
setRequestMethod
public HttpReadSettings setRequestMethod(Object requestMethod)
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.
-
getRequestBody
public Object getRequestBody()
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.
-
setRequestBody
public HttpReadSettings setRequestBody(Object requestBody)
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.
-
getAdditionalHeaders
public Object getAdditionalHeaders()
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.
-
setAdditionalHeaders
public HttpReadSettings setAdditionalHeaders(Object additionalHeaders)
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.
-
getRequestTimeout
public Object getRequestTimeout()
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.- Returns:
- the requestTimeout value.
-
setRequestTimeout
public HttpReadSettings setRequestTimeout(Object requestTimeout)
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.
-
isEnablePartitionDiscovery
public Boolean isEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Returns:
- the enablePartitionDiscovery value.
-
setEnablePartitionDiscovery
public HttpReadSettings setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.- Parameters:
enablePartitionDiscovery
- the enablePartitionDiscovery value to set.- Returns:
- the HttpReadSettings object itself.
-
getPartitionRootPath
public Object getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).- Returns:
- the partitionRootPath value.
-
setPartitionRootPath
public HttpReadSettings setPartitionRootPath(Object partitionRootPath)
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.
-
setMaxConcurrentConnections
public HttpReadSettings setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).- Overrides:
setMaxConcurrentConnections
in classStoreReadSettings
- Parameters:
maxConcurrentConnections
- the maxConcurrentConnections value to set.- Returns:
- the StoreReadSettings object itself.
-
-