CustomActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ExecutionActivity - com.
azure. resourcemanager. datafactory. models. CustomActivity
- com.
- com.
- com.
public final class CustomActivity
extends ExecutionActivity
Custom activity type.
Constructor Summary
Constructor | Description |
---|---|
CustomActivity() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
autoUserSpecification()
Get the auto |
Object |
command()
Get the command property: Command for custom activity Type: string (or Expression with result |
Map<String,Object> |
extendedProperties()
Get the extended |
Object |
folderPath()
Get the folder |
Custom |
referenceObjects()
Get the reference |
Linked |
resourceLinkedService()
Get the resource |
Object |
retentionTimeInDays()
Get the retention |
String |
type()
Get the type property: Type of activity. |
void |
validate()
Validates the instance. |
Custom |
withAutoUserSpecification(Object autoUserSpecification)
Set the auto |
Custom |
withCommand(Object command)
Set the command property: Command for custom activity Type: string (or Expression with result |
Custom |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
Custom |
withDescription(String description)
Set the description property: Activity description. |
Custom |
withExtendedProperties(Map<String,Object> extendedProperties)
Set the extended |
Custom |
withFolderPath(Object folderPath)
Set the folder |
Custom |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
Custom |
withName(String name)
Set the name property: Activity name. |
Custom |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
Custom |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
Custom |
withReferenceObjects(CustomActivityReferenceObject referenceObjects)
Set the reference |
Custom |
withResourceLinkedService(LinkedServiceReference resourceLinkedService)
Set the resource |
Custom |
withRetentionTimeInDays(Object retentionTimeInDays)
Set the retention |
Custom |
withState(ActivityState state)
Set the state property: Activity state. |
Custom |
withUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from ExecutionActivity
Methods inherited from java.lang.Object
Constructor Details
CustomActivity
public CustomActivity()
Creates an instance of CustomActivity class.
Method Details
autoUserSpecification
public Object autoUserSpecification()
Get the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).
Returns:
command
public Object command()
Get the command property: Command for custom activity Type: string (or Expression with resultType string).
Returns:
extendedProperties
public Map
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:
folderPath
public Object folderPath()
Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).
Returns:
referenceObjects
public CustomActivityReferenceObject referenceObjects()
Get the referenceObjects property: Reference objects.
Returns:
resourceLinkedService
public LinkedServiceReference resourceLinkedService()
Get the resourceLinkedService property: Resource linked service reference.
Returns:
retentionTimeInDays
public Object retentionTimeInDays()
Get the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).
Returns:
type
public String type()
Get the type property: Type of activity.
Overrides:
CustomActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
CustomActivity.validate()withAutoUserSpecification
public CustomActivity withAutoUserSpecification(Object autoUserSpecification)
Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).
Parameters:
Returns:
withCommand
public CustomActivity withCommand(Object command)
Set the command property: Command for custom activity Type: string (or Expression with resultType string).
Parameters:
Returns:
withDependsOn
public CustomActivity withDependsOn(List
Set the dependsOn property: Activity depends on condition.
Overrides:
CustomActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public CustomActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
CustomActivity.withDescription(String description)Parameters:
withExtendedProperties
public CustomActivity withExtendedProperties(Map
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:
Returns:
withFolderPath
public CustomActivity withFolderPath(Object folderPath)
Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).
Parameters:
Returns:
withLinkedServiceName
public CustomActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Overrides:
CustomActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)Parameters:
withName
public CustomActivity withName(String name)
Set the name property: Activity name.
Overrides:
CustomActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public CustomActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
CustomActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public CustomActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Overrides:
CustomActivity.withPolicy(ActivityPolicy policy)Parameters:
withReferenceObjects
public CustomActivity withReferenceObjects(CustomActivityReferenceObject referenceObjects)
Set the referenceObjects property: Reference objects.
Parameters:
Returns:
withResourceLinkedService
public CustomActivity withResourceLinkedService(LinkedServiceReference resourceLinkedService)
Set the resourceLinkedService property: Resource linked service reference.
Parameters:
Returns:
withRetentionTimeInDays
public CustomActivity withRetentionTimeInDays(Object retentionTimeInDays)
Set the retentionTimeInDays property: The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).
Parameters:
Returns:
withState
public CustomActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
CustomActivity.withState(ActivityState state)Parameters:
withUserProperties
public CustomActivity withUserProperties(List
Set the userProperties property: Activity user properties.
Overrides:
CustomActivity.withUserProperties(List<UserProperty> userProperties)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for