Class AzureFunctionActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AzureFunctionActivityTypeProperties
-
public final class AzureFunctionActivityTypeProperties extends Object
Azure Function activity type properties.
-
-
Constructor Summary
Constructors Constructor Description AzureFunctionActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
body()
Get the body property: Represents the payload that will be sent to the endpoint.Object
functionName()
Get the functionName property: Name of the Function that the Azure Function Activity will call.Object
headers()
Get the headers property: Represents the headers that will be sent to the request.AzureFunctionActivityMethod
method()
Get the method property: Rest API method for target endpoint.void
validate()
Validates the instance.AzureFunctionActivityTypeProperties
withBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint.AzureFunctionActivityTypeProperties
withFunctionName(Object functionName)
Set the functionName property: Name of the Function that the Azure Function Activity will call.AzureFunctionActivityTypeProperties
withHeaders(Object headers)
Set the headers property: Represents the headers that will be sent to the request.AzureFunctionActivityTypeProperties
withMethod(AzureFunctionActivityMethod method)
Set the method property: Rest API method for target endpoint.
-
-
-
Method Detail
-
method
public AzureFunctionActivityMethod method()
Get the method property: Rest API method for target endpoint.- Returns:
- the method value.
-
withMethod
public AzureFunctionActivityTypeProperties withMethod(AzureFunctionActivityMethod method)
Set the method property: Rest API method for target endpoint.- Parameters:
method
- the method value to set.- Returns:
- the AzureFunctionActivityTypeProperties object itself.
-
functionName
public Object 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
public AzureFunctionActivityTypeProperties withFunctionName(Object functionName)
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 AzureFunctionActivityTypeProperties object itself.
-
headers
public Object 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
public AzureFunctionActivityTypeProperties withHeaders(Object headers)
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 AzureFunctionActivityTypeProperties object itself.
-
body
public Object 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
public AzureFunctionActivityTypeProperties withBody(Object body)
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 AzureFunctionActivityTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-