Interface FieldGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FieldGroup.Builder,
,FieldGroup> SdkBuilder<FieldGroup.Builder,
,FieldGroup> SdkPojo
- Enclosing class:
FieldGroup
@Mutable
@NotThreadSafe
public static interface FieldGroup.Builder
extends SdkPojo, CopyableBuilder<FieldGroup.Builder,FieldGroup>
-
Method Summary
Modifier and TypeMethodDescriptionfields
(Collection<FieldItem> fields) Represents an ordered list containing field related information.fields
(Consumer<FieldItem.Builder>... fields) Represents an ordered list containing field related information.Represents an ordered list containing field related information.Name of the field group.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, sdkFieldNameToField, sdkFields
-
Method Details
-
fields
Represents an ordered list containing field related information.
- Parameters:
fields
- Represents an ordered list containing field related information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Represents an ordered list containing field related information.
- Parameters:
fields
- Represents an ordered list containing field related information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Represents an ordered list containing field related information.
This is a convenience method that creates an instance of theFieldItem.Builder
avoiding the need to create one manually viaFieldItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<FieldItem>)
.- Parameters:
fields
- a consumer that will call methods onFieldItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Name of the field group.
- Parameters:
name
- Name of the field group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-