Class HttpReadSettings

java.lang.Object
com.azure.resourcemanager.datafactory.models.StoreReadSettings
com.azure.resourcemanager.datafactory.models.HttpReadSettings

public final class HttpReadSettings extends StoreReadSettings
Sftp read settings.
  • Constructor Details

    • HttpReadSettings

      public HttpReadSettings()
      Creates an instance of HttpReadSettings class.
  • Method Details

    • requestMethod

      public Object 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

      public HttpReadSettings withRequestMethod(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.
    • requestBody

      public Object 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

      public HttpReadSettings withRequestBody(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.
    • additionalHeaders

      public Object 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

      public HttpReadSettings withAdditionalHeaders(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.
    • requestTimeout

      public Object requestTimeout()
      Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
      Returns:
      the requestTimeout value.
    • withRequestTimeout

      public HttpReadSettings withRequestTimeout(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.
    • enablePartitionDiscovery

      public Boolean enablePartitionDiscovery()
      Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
      Returns:
      the enablePartitionDiscovery value.
    • withEnablePartitionDiscovery

      public HttpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
      Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
      Parameters:
      enablePartitionDiscovery - the enablePartitionDiscovery value to set.
      Returns:
      the HttpReadSettings object itself.
    • partitionRootPath

      public Object 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

      public HttpReadSettings withPartitionRootPath(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.
    • withMaxConcurrentConnections

      public HttpReadSettings withMaxConcurrentConnections(Object maxConcurrentConnections)
      Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
      Overrides:
      withMaxConcurrentConnections in class StoreReadSettings
      Parameters:
      maxConcurrentConnections - the maxConcurrentConnections value to set.
      Returns:
      the StoreReadSettings object itself.
    • withDisableMetricsCollection

      public HttpReadSettings withDisableMetricsCollection(Object disableMetricsCollection)
      Set the disableMetricsCollection property: If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
      Overrides:
      withDisableMetricsCollection in class StoreReadSettings
      Parameters:
      disableMetricsCollection - the disableMetricsCollection value to set.
      Returns:
      the StoreReadSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class StoreReadSettings
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.