HttpSource Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. CopySource - com.
azure. resourcemanager. datafactory. models. HttpSource
- com.
- com.
public final class HttpSource
extends CopySource
A copy activity source for an HTTP file.
Constructor Summary
| Constructor | Description |
|---|---|
| HttpSource() |
Creates an instance of Http |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
| Object |
httpRequestTimeout()
Get the http |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Copy source type. |
| void |
validate()
Validates the instance. |
|
Http |
withDisableMetricsCollection(Object disableMetricsCollection)
Set the disable |
|
Http |
withHttpRequestTimeout(Object httpRequestTimeout)
Set the http |
|
Http |
withMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Http |
withSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Http |
withSourceRetryWait(Object sourceRetryWait)
Set the source |
Methods inherited from CopySource
Methods inherited from java.lang.Object
Constructor Details
HttpSource
public HttpSource()
Creates an instance of HttpSource class.
Method Details
fromJson
public static HttpSource fromJson(JsonReader jsonReader)
Reads an instance of HttpSource from the JsonReader.
Parameters:
Returns:
Throws:
httpRequestTimeout
public Object httpRequestTimeout()
Get the httpRequestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HttpSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Copy source type.
Overrides:
HttpSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
HttpSource.validate()withDisableMetricsCollection
public HttpSource 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:
HttpSource.withDisableMetricsCollection(Object disableMetricsCollection)Parameters:
withHttpRequestTimeout
public HttpSource withHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Parameters:
Returns:
withMaxConcurrentConnections
public HttpSource 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:
HttpSource.withMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
withSourceRetryCount
public HttpSource withSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
HttpSource.withSourceRetryCount(Object sourceRetryCount)Parameters:
withSourceRetryWait
public HttpSource withSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
HttpSource.withSourceRetryWait(Object sourceRetryWait)Parameters: