Class CustomActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ExecutionActivity
com.azure.resourcemanager.datafactory.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.command()
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.void
validate()
Validates the instance.withAutoUserSpecification
(Object autoUserSpecification) Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.withCommand
(Object command) Set the command property: Command for custom activity Type: string (or Expression with resultType string).withDependsOn
(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription
(String description) Set the description property: Activity description.withExtendedProperties
(Map<String, Object> extendedProperties) Set the extendedProperties property: User defined property bag.withFolderPath
(Object folderPath) Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).withLinkedServiceName
(LinkedServiceReference linkedServiceName) Set the linkedServiceName property: Linked service reference.Set the name property: Activity name.withPolicy
(ActivityPolicy policy) Set the policy property: Activity policy.withReferenceObjects
(CustomActivityReferenceObject referenceObjects) Set the referenceObjects property: Reference objects.withResourceLinkedService
(LinkedServiceReference resourceLinkedService) Set the resourceLinkedService property: Resource linked service reference.withRetentionTimeInDays
(Object retentionTimeInDays) Set the retentionTimeInDays property: The retention time for the files submitted for custom activity.withUserProperties
(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
-
Constructor Details
-
CustomActivity
public CustomActivity()Creates an instance of CustomActivity class.
-
-
Method Details
-
withLinkedServiceName
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- Parameters:
linkedServiceName
- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
Set the policy property: Activity policy.- Overrides:
withPolicy
in classExecutionActivity
- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
Set the name property: Activity name.- Overrides:
withName
in classExecutionActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescription
in classExecutionActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classExecutionActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classExecutionActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
command
Get the command property: Command for custom activity Type: string (or Expression with resultType string).- Returns:
- the command value.
-
withCommand
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.
-
resourceLinkedService
Get the resourceLinkedService property: Resource linked service reference.- Returns:
- the resourceLinkedService value.
-
withResourceLinkedService
Set the resourceLinkedService property: Resource linked service reference.- Parameters:
resourceLinkedService
- the resourceLinkedService value to set.- Returns:
- the CustomActivity object itself.
-
folderPath
Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).- Returns:
- the folderPath value.
-
withFolderPath
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.
-
referenceObjects
Get the referenceObjects property: Reference objects.- Returns:
- the referenceObjects value.
-
withReferenceObjects
Set the referenceObjects property: Reference objects.- Parameters:
referenceObjects
- the referenceObjects value to set.- Returns:
- the CustomActivity object itself.
-
extendedProperties
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.
-
withExtendedProperties
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.
-
retentionTimeInDays
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.
-
withRetentionTimeInDays
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.
-
autoUserSpecification
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.
-
withAutoUserSpecification
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.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-