@Beta public class TaskDefinitionAttribute extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskDefinitionAttribute.TypeEnum
The type of the attribute.
|
Constructor and Description |
---|
TaskDefinitionAttribute() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getId()
The ID of the attribute.
|
String |
getLabel()
The label, which represents how the attribute is presented to end users.
|
TaskDefinitionAttribute.TypeEnum |
getType()
The type of the attribute.
|
int |
hashCode() |
TaskDefinitionAttribute |
id(String id)
Set the id of this
TaskDefinitionAttribute instance and return the same instance. |
TaskDefinitionAttribute |
label(String label)
Set the label of this
TaskDefinitionAttribute instance and return the same instance. |
void |
setId(String id)
Set the id of this
TaskDefinitionAttribute instance. |
void |
setLabel(String label)
Set the label of this
TaskDefinitionAttribute instance. |
void |
setType(TaskDefinitionAttribute.TypeEnum type)
Set the type of this
TaskDefinitionAttribute instance. |
String |
toString() |
TaskDefinitionAttribute |
type(TaskDefinitionAttribute.TypeEnum type)
Set the type of this
TaskDefinitionAttribute instance and return the same instance. |
@Nonnull public TaskDefinitionAttribute id(@Nonnull String id)
TaskDefinitionAttribute
instance and return the same instance.id
- The ID of the attribute.TaskDefinitionAttribute
class@Nonnull public String getId()
TaskDefinitionAttribute
instance.public void setId(@Nonnull String id)
TaskDefinitionAttribute
instance.id
- The ID of the attribute.@Nonnull public TaskDefinitionAttribute label(@Nonnull String label)
TaskDefinitionAttribute
instance and return the same instance.label
- The label, which represents how the attribute is presented to end users.TaskDefinitionAttribute
class@Nonnull public String getLabel()
TaskDefinitionAttribute
instance.public void setLabel(@Nonnull String label)
TaskDefinitionAttribute
instance.label
- The label, which represents how the attribute is presented to end users.@Nonnull public TaskDefinitionAttribute type(@Nonnull TaskDefinitionAttribute.TypeEnum type)
TaskDefinitionAttribute
instance and return the same instance.type
- The type of the attribute.TaskDefinitionAttribute
class@Nonnull public TaskDefinitionAttribute.TypeEnum getType()
TaskDefinitionAttribute
instance.public void setType(@Nonnull TaskDefinitionAttribute.TypeEnum type)
TaskDefinitionAttribute
instance.type
- The type of the attribute.Copyright © 2020 SAP SE. All rights reserved.