Class CustomActivity
java.lang.Object
com.azure.analytics.synapse.artifacts.models.Activity
com.azure.analytics.synapse.artifacts.models.ExecutionActivity
com.azure.analytics.synapse.artifacts.models.CustomActivity
Custom activity type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.Get the command property: Command for custom activity Type: string (or Expression with resultType string).Get the extendedProperties property: User defined property bag.Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).Get the referenceObjects property: Reference objects.Get the resourceLinkedService property: Resource linked service reference.Get the retentionTimeInDays property: The retention time for the files submitted for custom activity.setAutoUserSpecification
(Object autoUserSpecification) Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.setCommand
(Object command) Set the command property: Command for custom activity Type: string (or Expression with resultType string).setDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.setDescription
(String description) Set the description property: Activity description.setExtendedProperties
(Map<String, Object> extendedProperties) Set the extendedProperties property: User defined property bag.setFolderPath
(Object folderPath) Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).setLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.setPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.setReferenceObjects
(CustomActivityReferenceObject referenceObjects) Set the referenceObjects property: Reference objects.setResourceLinkedService
(LinkedServiceReference resourceLinkedService) Set the resourceLinkedService property: Resource linked service reference.setRetentionTimeInDays
(Object retentionTimeInDays) Set the retentionTimeInDays property: The retention time for the files submitted for custom activity.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
-
CustomActivity
public CustomActivity()
-
-
Method Details
-
getCommand
Get the command property: Command for custom activity Type: string (or Expression with resultType string).- Returns:
- the command value.
-
setCommand
Set the command property: Command for custom activity Type: string (or Expression with resultType string).- Parameters:
command
- the command value to set.- Returns:
- the CustomActivity object itself.
-
getResourceLinkedService
Get the resourceLinkedService property: Resource linked service reference.- Returns:
- the resourceLinkedService value.
-
setResourceLinkedService
Set the resourceLinkedService property: Resource linked service reference.- Parameters:
resourceLinkedService
- the resourceLinkedService value to set.- Returns:
- the CustomActivity object itself.
-
getFolderPath
Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).- Returns:
- the folderPath value.
-
setFolderPath
Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the CustomActivity object itself.
-
getReferenceObjects
Get the referenceObjects property: Reference objects.- Returns:
- the referenceObjects value.
-
setReferenceObjects
Set the referenceObjects property: Reference objects.- Parameters:
referenceObjects
- the referenceObjects value to set.- Returns:
- the CustomActivity object itself.
-
getExtendedProperties
Get the extendedProperties property: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.- Returns:
- the extendedProperties value.
-
setExtendedProperties
Set the extendedProperties property: User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.- Parameters:
extendedProperties
- the extendedProperties value to set.- Returns:
- the CustomActivity object itself.
-
getRetentionTimeInDays
Get the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).- Returns:
- the retentionTimeInDays value.
-
setRetentionTimeInDays
Set the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).- Parameters:
retentionTimeInDays
- the retentionTimeInDays value to set.- Returns:
- the CustomActivity object itself.
-
getAutoUserSpecification
Get the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).- Returns:
- the autoUserSpecification value.
-
setAutoUserSpecification
Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).- Parameters:
autoUserSpecification
- the autoUserSpecification value to set.- Returns:
- the CustomActivity 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.
-