Class AzureFunctionActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.models.AzureFunctionActivity
Azure Function activity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody()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.headers()Get the headers property: Represents the headers that will be sent to the request.method()Get the method property: Rest API method for target endpoint.voidvalidate()Validates the instance.Set the body property: Represents the payload that will be sent to the endpoint.withDependsOn(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription(String description) Set the description property: Activity description.withFunctionName(Object functionName) Set the functionName property: Name of the Function that the Azure Function Activity will call.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.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.withUserProperties(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policyMethods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
Constructor Details
-
AzureFunctionActivity
public AzureFunctionActivity()Creates an instance of AzureFunctionActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin 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 AzureFunctionActivity object itself.
-
functionName
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.
-
withFunctionName
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.
-
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 AzureFunctionActivity 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 AzureFunctionActivity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-