Class WebActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.WebActivity
Web activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authentication property: Authentication method used for calling the endpoint.getBody()
Get the body property: Represents the payload that will be sent to the endpoint.Get the connectVia property: The integration runtime reference.Get the datasets property: List of datasets passed to web endpoint.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.Get the method property: Rest API method for target endpoint.getUrl()
Get the url property: Web activity target endpoint and path.setAuthentication
(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.setConnectVia
(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.setDatasets
(List<DatasetReference> datasets) Set the datasets property: List of datasets passed to web endpoint.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setHeaders
(Object headers) Set the headers property: Represents the headers that will be sent to the request.setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.setLinkedServices
(List<LinkedServiceReference> linkedServices) Set the linkedServices property: List of linked services passed to web endpoint.setMethod
(WebActivityMethod method) Set the method property: Rest API method for target endpoint.Set the name property: Activity name.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.Set the url property: Web activity target endpoint and path.setUserProperties
(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.analytics.synapse.artifacts.models.ExecutionActivity
getLinkedServiceName, getPolicy
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
Constructor Details
-
WebActivity
public WebActivity()
-
-
Method Details
-
getMethod
Get the method property: Rest API method for target endpoint.- Returns:
- the method value.
-
setMethod
Set the method property: Rest API method for target endpoint.- Parameters:
method
- the method value to set.- Returns:
- the WebActivity object itself.
-
getUrl
Get the url property: Web activity target endpoint and path. Type: string (or Expression with resultType string).- Returns:
- the url value.
-
setUrl
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.
-
getHeaders
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.
-
setHeaders
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.
-
getBody
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.
-
setBody
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.
-
getAuthentication
Get the authentication property: Authentication method used for calling the endpoint.- Returns:
- the authentication value.
-
setAuthentication
Set the authentication property: Authentication method used for calling the endpoint.- Parameters:
authentication
- the authentication value to set.- Returns:
- the WebActivity object itself.
-
getDatasets
Get the datasets property: List of datasets passed to web endpoint.- Returns:
- the datasets value.
-
setDatasets
Set the datasets property: List of datasets passed to web endpoint.- Parameters:
datasets
- the datasets value to set.- Returns:
- the WebActivity object itself.
-
getLinkedServices
Get the linkedServices property: List of linked services passed to web endpoint.- Returns:
- the linkedServices value.
-
setLinkedServices
Set the linkedServices property: List of linked services passed to web endpoint.- Parameters:
linkedServices
- the linkedServices value to set.- Returns:
- the WebActivity object itself.
-
getConnectVia
Get the connectVia property: The integration runtime reference.- Returns:
- the connectVia value.
-
setConnectVia
Set the connectVia property: The integration runtime reference.- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the WebActivity object itself.
-
setLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
setLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
setPolicy
Set the policy property: Activity policy.- Overrides:
setPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
setName
Set the name property: Activity name.- Overrides:
setName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
Set the description property: Activity description.- Overrides:
setDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-