public class Activity extends Object
| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: A pipeline activity.
|
List<ActivityDependency> |
dependsOn()
Get the dependsOn property: Activity depends on condition.
|
String |
description()
Get the description property: Activity description.
|
String |
name()
Get the name property: Activity name.
|
List<UserProperty> |
userProperties()
Get the userProperties property: Activity user properties.
|
void |
validate()
Validates the instance.
|
Activity |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: A pipeline activity.
|
Activity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
Activity |
withDescription(String description)
Set the description property: Activity description.
|
Activity |
withName(String name)
Set the name property: Activity name.
|
Activity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
public String name()
public Activity withName(String name)
name - the name value to set.public String description()
public Activity withDescription(String description)
description - the description value to set.public List<ActivityDependency> dependsOn()
public Activity withDependsOn(List<ActivityDependency> dependsOn)
dependsOn - the dependsOn value to set.public List<UserProperty> userProperties()
public Activity withUserProperties(List<UserProperty> userProperties)
userProperties - the userProperties value to set.public Map<String,Object> additionalProperties()
public Activity withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - the additionalProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.