WebActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ExecutionActivity - com.
azure. resourcemanager. datafactory. models. WebActivity
- com.
- com.
- com.
public final class WebActivity
extends ExecutionActivity
Web activity.
Constructor Summary
| Constructor | Description |
|---|---|
| WebActivity() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Web |
authentication()
Get the authentication property: Authentication method used for calling the endpoint. |
| Object |
body()
Get the body property: Represents the payload that will be sent to the endpoint. |
|
Integration |
connectVia()
Get the connect |
|
List<Dataset |
datasets()
Get the datasets property: List of datasets passed to web endpoint. |
| Boolean |
disableCertValidation()
Get the disable |
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| Map<String,Object> |
headers()
Get the headers property: Represents the headers that will be sent to the request. |
| Object |
httpRequestTimeout()
Get the http |
|
List<Linked |
linkedServices()
Get the linked |
|
Web |
method()
Get the method property: Rest API method for target endpoint. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Boolean |
turnOffAsync()
Get the turn |
| String |
type()
Get the type property: Type of activity. |
| Object |
url()
Get the url property: Web activity target endpoint and path. |
| void |
validate()
Validates the instance. |
|
Web |
withAuthentication(WebActivityAuthentication authentication)
Set the authentication property: Authentication method used for calling the endpoint. |
|
Web |
withBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint. |
|
Web |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connect |
|
Web |
withDatasets(List<DatasetReference> datasets)
Set the datasets property: List of datasets passed to web endpoint. |
|
Web |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Web |
withDescription(String description)
Set the description property: Activity description. |
|
Web |
withDisableCertValidation(Boolean disableCertValidation)
Set the disable |
|
Web |
withHeaders(Map<String,Object> headers)
Set the headers property: Represents the headers that will be sent to the request. |
|
Web |
withHttpRequestTimeout(Object httpRequestTimeout)
Set the http |
|
Web |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Web |
withLinkedServices(List<LinkedServiceReference> linkedServices)
Set the linked |
|
Web |
withMethod(WebActivityMethod method)
Set the method property: Rest API method for target endpoint. |
|
Web |
withName(String name)
Set the name property: Activity name. |
|
Web |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Web |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Web |
withState(ActivityState state)
Set the state property: Activity state. |
|
Web |
withTurnOffAsync(Boolean turnOffAsync)
Set the turn |
|
Web |
withUrl(Object url)
Set the url property: Web activity target endpoint and path. |
|
Web |
withUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from ExecutionActivity
Methods inherited from java.lang.Object
Constructor Details
WebActivity
public WebActivity()
Creates an instance of WebActivity class.
Method Details
authentication
public WebActivityAuthentication authentication()
Get the authentication property: Authentication method used for calling the endpoint.
Returns:
body
public Object body()
Get the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string).
Returns:
connectVia
public IntegrationRuntimeReference connectVia()
Get the connectVia property: The integration runtime reference.
Returns:
datasets
public List<DatasetReference> datasets()
Get the datasets property: List of datasets passed to web endpoint.
Returns:
disableCertValidation
public Boolean disableCertValidation()
Get the disableCertValidation property: When set to true, Certificate validation will be disabled.
Returns:
fromJson
public static WebActivity fromJson(JsonReader jsonReader)
Reads an instance of WebActivity from the JsonReader.
Parameters:
Returns:
Throws:
headers
public Map<String,Object> headers()
Get the headers property: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).
Returns:
httpRequestTimeout
public Object httpRequestTimeout()
Get the httpRequestTimeout property: Timeout for the HTTP request to get a response. Format is in TimeSpan (hh:mm:ss). This value is the timeout to get a response, not the activity timeout. The default value is 00:01:00 (1 minute). The range is from 1 to 10 minutes.
Returns:
linkedServices
public List<LinkedServiceReference> linkedServices()
Get the linkedServices property: List of linked services passed to web endpoint.
Returns:
method
public WebActivityMethod method()
Get the method property: Rest API method for target endpoint.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
turnOffAsync
public Boolean turnOffAsync()
Get the turnOffAsync property: Option to disable invoking HTTP GET on location given in response header of a HTTP 202 Response. If set true, it stops invoking HTTP GET on http location given in response header. If set false then continues to invoke HTTP GET call on location given in http response headers.
Returns:
type
public String type()
Get the type property: Type of activity.
Overrides:
WebActivity.type()Returns:
url
public Object url()
Get the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).
Returns:
validate
public void validate()
Validates the instance.
Overrides:
WebActivity.validate()withAuthentication
public WebActivity withAuthentication(WebActivityAuthentication authentication)
Set the authentication property: Authentication method used for calling the endpoint.
Parameters:
Returns:
withBody
public WebActivity withBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string).
Parameters:
Returns:
withConnectVia
public WebActivity withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
Parameters:
Returns:
withDatasets
public WebActivity withDatasets(List<DatasetReference> datasets)
Set the datasets property: List of datasets passed to web endpoint.
Parameters:
Returns:
withDependsOn
public WebActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
WebActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public WebActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
WebActivity.withDescription(String description)Parameters:
withDisableCertValidation
public WebActivity withDisableCertValidation(Boolean disableCertValidation)
Set the disableCertValidation property: When set to true, Certificate validation will be disabled.
Parameters:
Returns:
withHeaders
public WebActivity withHeaders(Map<String,Object> headers)
Set the headers property: Represents the headers that will be sent to the request. For example, to set the language and type on a request: "headers" : { "Accept-Language": "en-us", "Content-Type": "application/json" }. Type: string (or Expression with resultType string).
Parameters:
Returns:
withHttpRequestTimeout
public WebActivity withHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: Timeout for the HTTP request to get a response. Format is in TimeSpan (hh:mm:ss). This value is the timeout to get a response, not the activity timeout. The default value is 00:01:00 (1 minute). The range is from 1 to 10 minutes.
Parameters:
Returns:
withLinkedServiceName
public WebActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Overrides:
WebActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)Parameters:
withLinkedServices
public WebActivity withLinkedServices(List<LinkedServiceReference> linkedServices)
Set the linkedServices property: List of linked services passed to web endpoint.
Parameters:
Returns:
withMethod
public WebActivity withMethod(WebActivityMethod method)
Set the method property: Rest API method for target endpoint.
Parameters:
Returns:
withName
public WebActivity withName(String name)
Set the name property: Activity name.
Overrides:
WebActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public WebActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
WebActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public WebActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Overrides:
WebActivity.withPolicy(ActivityPolicy policy)Parameters:
withState
public WebActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
WebActivity.withState(ActivityState state)Parameters:
withTurnOffAsync
public WebActivity withTurnOffAsync(Boolean turnOffAsync)
Set the turnOffAsync property: Option to disable invoking HTTP GET on location given in response header of a HTTP 202 Response. If set true, it stops invoking HTTP GET on http location given in response header. If set false then continues to invoke HTTP GET call on location given in http response headers.
Parameters:
Returns:
withUrl
public WebActivity withUrl(Object url)
Set the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).
Parameters:
Returns:
withUserProperties
public WebActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
WebActivity.withUserProperties(List<UserProperty> userProperties)Parameters: