Class AzureFunctionActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.AzureFunctionActivity
Azure Function activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()
Get the body property: Represents the payload that will be sent to the endpoint.Get the functionName property: Name of the Function that the Azure Function Activity will call.Get the headers property: Represents the headers that will be sent to the request.Get the method property: Rest API method for target endpoint.Set the body property: Represents the payload that will be sent to the endpoint.setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setFunctionName
(Object functionName) Set the functionName property: Name of the Function that the Azure Function Activity will call.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.setMethod
(AzureFunctionActivityMethod 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.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
-
AzureFunctionActivity
public AzureFunctionActivity()
-
-
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 AzureFunctionActivity object itself.
-
getFunctionName
Get the functionName property: Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string).- Returns:
- the functionName value.
-
setFunctionName
Set the functionName property: Name of the Function that the Azure Function Activity will call. Type: string (or Expression with resultType string).- Parameters:
functionName
- the functionName value to set.- Returns:
- the AzureFunctionActivity 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 AzureFunctionActivity 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 AzureFunctionActivity 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.
-