public class WebActivity extends ExecutionActivity
| Constructor and Description |
|---|
WebActivity() |
| Modifier and Type | Method and Description |
|---|---|
WebActivityAuthentication |
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.
|
IntegrationRuntimeReference |
connectVia()
Get the connectVia property: The integration runtime reference.
|
List<DatasetReference> |
datasets()
Get the datasets property: List of datasets passed to web endpoint.
|
Object |
headers()
Get the headers property: Represents the headers that will be sent to the request.
|
List<LinkedServiceReference> |
linkedServices()
Get the linkedServices property: List of linked services passed to web endpoint.
|
WebActivityMethod |
method()
Get the method property: Rest API method for target endpoint.
|
Object |
url()
Get the url property: Web activity target endpoint and path.
|
void |
validate()
Validates the instance.
|
WebActivity |
withAuthentication(WebActivityAuthentication authentication)
Set the authentication property: Authentication method used for calling the endpoint.
|
WebActivity |
withBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint.
|
WebActivity |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
WebActivity |
withDatasets(List<DatasetReference> datasets)
Set the datasets property: List of datasets passed to web endpoint.
|
WebActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
WebActivity |
withDescription(String description)
Set the description property: Activity description.
|
WebActivity |
withHeaders(Object headers)
Set the headers property: Represents the headers that will be sent to the request.
|
WebActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
WebActivity |
withLinkedServices(List<LinkedServiceReference> linkedServices)
Set the linkedServices property: List of linked services passed to web endpoint.
|
WebActivity |
withMethod(WebActivityMethod method)
Set the method property: Rest API method for target endpoint.
|
WebActivity |
withName(String name)
Set the name property: Activity name.
|
WebActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
WebActivity |
withUrl(Object url)
Set the url property: Web activity target endpoint and path.
|
WebActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic WebActivityMethod method()
public WebActivity withMethod(WebActivityMethod method)
method - the method value to set.public Object url()
public WebActivity withUrl(Object url)
url - the url value to set.public Object headers()
public WebActivity withHeaders(Object headers)
headers - the headers value to set.public Object body()
public WebActivity withBody(Object body)
body - the body value to set.public WebActivityAuthentication authentication()
public WebActivity withAuthentication(WebActivityAuthentication authentication)
authentication - the authentication value to set.public List<DatasetReference> datasets()
public WebActivity withDatasets(List<DatasetReference> datasets)
datasets - the datasets value to set.public List<LinkedServiceReference> linkedServices()
public WebActivity withLinkedServices(List<LinkedServiceReference> linkedServices)
linkedServices - the linkedServices value to set.public IntegrationRuntimeReference connectVia()
public WebActivity withConnectVia(IntegrationRuntimeReference connectVia)
connectVia - the connectVia value to set.public WebActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public WebActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public WebActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public WebActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public WebActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public WebActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ExecutionActivityuserProperties - the userProperties value to set.public void validate()
validate in class ExecutionActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.