Interface FieldGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FieldGroup.Builder,FieldGroup>,SdkBuilder<FieldGroup.Builder,FieldGroup>,SdkPojo
- Enclosing class:
- FieldGroup
public static interface FieldGroup.Builder extends SdkPojo, CopyableBuilder<FieldGroup.Builder,FieldGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldGroup.Builderfields(Collection<FieldItem> fields)Represents an ordered list containing field related information.FieldGroup.Builderfields(Consumer<FieldItem.Builder>... fields)Represents an ordered list containing field related information.FieldGroup.Builderfields(FieldItem... fields)Represents an ordered list containing field related information.FieldGroup.Buildername(String name)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, sdkFields
-
-
-
-
Method Detail
-
fields
FieldGroup.Builder fields(Collection<FieldItem> 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
FieldGroup.Builder fields(FieldItem... 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
FieldGroup.Builder fields(Consumer<FieldItem.Builder>... fields)
Represents an ordered list containing field related information.
This is a convenience method that creates an instance of theFieldItem.Builderavoiding the need to create one manually viaFieldItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - 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:
#fields(java.util.Collection)
-
name
FieldGroup.Builder name(String 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.
-
-