public final class CustomActivity extends ExecutionActivity
| Constructor and Description |
|---|
CustomActivity() |
| Modifier and Type | Method and Description |
|---|---|
Object |
autoUserSpecification()
Get the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.
|
Object |
command()
Get the command property: Command for custom activity Type: string (or Expression with resultType string).
|
Map<String,Object> |
extendedProperties()
Get the extendedProperties property: User defined property bag.
|
Object |
folderPath()
Get the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).
|
CustomActivityReferenceObject |
referenceObjects()
Get the referenceObjects property: Reference objects.
|
LinkedServiceReference |
resourceLinkedService()
Get the resourceLinkedService property: Resource linked service reference.
|
Object |
retentionTimeInDays()
Get the retentionTimeInDays property: The retention time for the files submitted for custom activity.
|
void |
validate()
Validates the instance.
|
CustomActivity |
withAutoUserSpecification(Object autoUserSpecification)
Set the autoUserSpecification property: Elevation level and scope for the user, default is nonadmin task.
|
CustomActivity |
withCommand(Object command)
Set the command property: Command for custom activity Type: string (or Expression with resultType string).
|
CustomActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
CustomActivity |
withDescription(String description)
Set the description property: Activity description.
|
CustomActivity |
withExtendedProperties(Map<String,Object> extendedProperties)
Set the extendedProperties property: User defined property bag.
|
CustomActivity |
withFolderPath(Object folderPath)
Set the folderPath property: Folder path for resource files Type: string (or Expression with resultType string).
|
CustomActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
CustomActivity |
withName(String name)
Set the name property: Activity name.
|
CustomActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
CustomActivity |
withReferenceObjects(CustomActivityReferenceObject referenceObjects)
Set the referenceObjects property: Reference objects.
|
CustomActivity |
withResourceLinkedService(LinkedServiceReference resourceLinkedService)
Set the resourceLinkedService property: Resource linked service reference.
|
CustomActivity |
withRetentionTimeInDays(Object retentionTimeInDays)
Set the retentionTimeInDays property: The retention time for the files submitted for custom activity.
|
CustomActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic CustomActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public CustomActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public CustomActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public CustomActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public CustomActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public CustomActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ExecutionActivityuserProperties - the userProperties value to set.public Object command()
public CustomActivity withCommand(Object command)
command - the command value to set.public LinkedServiceReference resourceLinkedService()
public CustomActivity withResourceLinkedService(LinkedServiceReference resourceLinkedService)
resourceLinkedService - the resourceLinkedService value to set.public Object folderPath()
public CustomActivity withFolderPath(Object folderPath)
folderPath - the folderPath value to set.public CustomActivityReferenceObject referenceObjects()
public CustomActivity withReferenceObjects(CustomActivityReferenceObject referenceObjects)
referenceObjects - the referenceObjects value to set.public Map<String,Object> extendedProperties()
public CustomActivity withExtendedProperties(Map<String,Object> extendedProperties)
extendedProperties - the extendedProperties value to set.public Object retentionTimeInDays()
public CustomActivity withRetentionTimeInDays(Object retentionTimeInDays)
retentionTimeInDays - the retentionTimeInDays value to set.public Object autoUserSpecification()
public CustomActivity withAutoUserSpecification(Object autoUserSpecification)
autoUserSpecification - the autoUserSpecification value to set.public void validate()
validate in class ExecutionActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.