Class AzureDataExplorerCommandActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.AzureDataExplorerCommandActivity
-
public final class AzureDataExplorerCommandActivity extends ExecutionActivity
Azure Data Explorer command activity.
-
-
Constructor Summary
Constructors Constructor Description AzureDataExplorerCommandActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcommand()Get the command property: A control command, according to the Azure Data Explorer command syntax.ObjectcommandTimeout()Get the commandTimeout property: Control command timeout.voidvalidate()Validates the instance.AzureDataExplorerCommandActivitywithCommand(Object command)Set the command property: A control command, according to the Azure Data Explorer command syntax.AzureDataExplorerCommandActivitywithCommandTimeout(Object commandTimeout)Set the commandTimeout property: Control command timeout.AzureDataExplorerCommandActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.AzureDataExplorerCommandActivitywithDescription(String description)Set the description property: Activity description.AzureDataExplorerCommandActivitywithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.AzureDataExplorerCommandActivitywithName(String name)Set the name property: Activity name.AzureDataExplorerCommandActivitywithPolicy(ActivityPolicy policy)Set the policy property: Activity policy.AzureDataExplorerCommandActivitywithUserProperties(List<UserProperty> userProperties)Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withLinkedServiceName
public AzureDataExplorerCommandActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public AzureDataExplorerCommandActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public AzureDataExplorerCommandActivity withName(String name)
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public AzureDataExplorerCommandActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public AzureDataExplorerCommandActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public AzureDataExplorerCommandActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classExecutionActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
command
public Object command()
Get the command property: A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string).- Returns:
- the command value.
-
withCommand
public AzureDataExplorerCommandActivity withCommand(Object command)
Set the command property: A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string).- Parameters:
command- the command value to set.- Returns:
- the AzureDataExplorerCommandActivity object itself.
-
commandTimeout
public Object commandTimeout()
Get the commandTimeout property: Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..).- Returns:
- the commandTimeout value.
-
withCommandTimeout
public AzureDataExplorerCommandActivity withCommandTimeout(Object commandTimeout)
Set the commandTimeout property: Control command timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..).- Parameters:
commandTimeout- the commandTimeout value to set.- Returns:
- the AzureDataExplorerCommandActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-