Interface TaskTemplateField.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskTemplateField.Builder,TaskTemplateField>,SdkBuilder<TaskTemplateField.Builder,TaskTemplateField>,SdkPojo
- Enclosing class:
- TaskTemplateField
public static interface TaskTemplateField.Builder extends SdkPojo, CopyableBuilder<TaskTemplateField.Builder,TaskTemplateField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TaskTemplateField.Builderdescription(String description)The description of the field.default TaskTemplateField.Builderid(Consumer<TaskTemplateFieldIdentifier.Builder> id)The unique identifier for the field.TaskTemplateField.Builderid(TaskTemplateFieldIdentifier id)The unique identifier for the field.TaskTemplateField.BuildersingleSelectOptions(String... singleSelectOptions)A list of options for a single select field.TaskTemplateField.BuildersingleSelectOptions(Collection<String> singleSelectOptions)A list of options for a single select field.TaskTemplateField.Buildertype(String type)Indicates the type of field.TaskTemplateField.Buildertype(TaskTemplateFieldType type)Indicates the type of field.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
TaskTemplateField.Builder id(TaskTemplateFieldIdentifier id)
The unique identifier for the field.
- Parameters:
id- The unique identifier for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
default TaskTemplateField.Builder id(Consumer<TaskTemplateFieldIdentifier.Builder> id)
The unique identifier for the field.
This is a convenience method that creates an instance of theTaskTemplateFieldIdentifier.Builderavoiding the need to create one manually viaTaskTemplateFieldIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toid(TaskTemplateFieldIdentifier).- Parameters:
id- a consumer that will call methods onTaskTemplateFieldIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
id(TaskTemplateFieldIdentifier)
-
description
TaskTemplateField.Builder description(String description)
The description of the field.
- Parameters:
description- The description of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
TaskTemplateField.Builder type(String type)
Indicates the type of field.
- Parameters:
type- Indicates the type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskTemplateFieldType,TaskTemplateFieldType
-
type
TaskTemplateField.Builder type(TaskTemplateFieldType type)
Indicates the type of field.
- Parameters:
type- Indicates the type of field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskTemplateFieldType,TaskTemplateFieldType
-
singleSelectOptions
TaskTemplateField.Builder singleSelectOptions(Collection<String> singleSelectOptions)
A list of options for a single select field.
- Parameters:
singleSelectOptions- A list of options for a single select field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleSelectOptions
TaskTemplateField.Builder singleSelectOptions(String... singleSelectOptions)
A list of options for a single select field.
- Parameters:
singleSelectOptions- A list of options for a single select field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-