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
Modifier and TypeMethodDescriptiondescription(String description) The description of the field.default TaskTemplateField.BuilderThe unique identifier for the field.The unique identifier for the field.singleSelectOptions(String... singleSelectOptions) A list of options for a single select field.singleSelectOptions(Collection<String> singleSelectOptions) A list of options for a single select field.Indicates the type of field.type(TaskTemplateFieldType type) Indicates the type of field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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:
-
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
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.
-