Class WebActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.WebActivity
Web activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: Authentication method used for calling the endpoint.body()
Get the body property: Represents the payload that will be sent to the endpoint.Get the connectVia property: The integration runtime reference.datasets()
Get the datasets property: List of datasets passed to web endpoint.Get the disableCertValidation property: When set to true, Certificate validation will be disabled.headers()
Get the headers property: Represents the headers that will be sent to the request.Get the linkedServices property: List of linked services passed to web endpoint.method()
Get the method property: Rest API method for target endpoint.url()
Get the url property: Web activity target endpoint and path.void
validate()
Validates the instance.withAuthentication
(WebActivityAuthentication authentication) Set the authentication property: Authentication method used for calling the endpoint.Set the body property: Represents the payload that will be sent to the endpoint.withConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDatasets
(List<DatasetReference> datasets) Set the datasets property: List of datasets passed to web endpoint.withDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription
(String description) Set the description property: Activity description.withDisableCertValidation
(Boolean disableCertValidation) Set the disableCertValidation property: When set to true, Certificate validation will be disabled.withHeaders
(Object headers) Set the headers property: Represents the headers that will be sent to the request.withLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.withLinkedServices
(List<LinkedServiceReference> linkedServices) Set the linkedServices property: List of linked services passed to web endpoint.withMethod
(WebActivityMethod method) Set the method property: Rest API method for target endpoint.Set the name property: Activity name.withPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.Set the url property: Web activity target endpoint and path.withUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
WebActivity
public WebActivity()Creates an instance of WebActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
method
Get the method property: Rest API method for target endpoint.- Returns:
- the method value.
-
withMethod
Set the method property: Rest API method for target endpoint.- Parameters:
method
- the method value to set.- Returns:
- the WebActivity object itself.
-
url
Get the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
withUrl
Set the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).- Parameters:
url
- the url value to set.- Returns:
- the WebActivity object itself.
-
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:
- the headers value.
-
withHeaders
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:
headers
- the headers value to set.- Returns:
- the WebActivity object itself.
-
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:
- the body value.
-
withBody
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:
body
- the body value to set.- Returns:
- the WebActivity object itself.
-
authentication
Get the authentication property: Authentication method used for calling the endpoint.- Returns:
- the authentication value.
-
withAuthentication
Set the authentication property: Authentication method used for calling the endpoint.- Parameters:
authentication
- the authentication value to set.- Returns:
- the WebActivity object itself.
-
disableCertValidation
Get the disableCertValidation property: When set to true, Certificate validation will be disabled.- Returns:
- the disableCertValidation value.
-
withDisableCertValidation
Set the disableCertValidation property: When set to true, Certificate validation will be disabled.- Parameters:
disableCertValidation
- the disableCertValidation value to set.- Returns:
- the WebActivity object itself.
-
datasets
Get the datasets property: List of datasets passed to web endpoint.- Returns:
- the datasets value.
-
withDatasets
Set the datasets property: List of datasets passed to web endpoint.- Parameters:
datasets
- the datasets value to set.- Returns:
- the WebActivity object itself.
-
linkedServices
Get the linkedServices property: List of linked services passed to web endpoint.- Returns:
- the linkedServices value.
-
withLinkedServices
Set the linkedServices property: List of linked services passed to web endpoint.- Parameters:
linkedServices
- the linkedServices value to set.- Returns:
- the WebActivity object itself.
-
connectVia
Get the connectVia property: The integration runtime reference.- Returns:
- the connectVia value.
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the WebActivity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-