Interface Section.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Section.Builder,Section>,SdkBuilder<Section.Builder,Section>,SdkPojo
- Enclosing class:
- Section
public static interface Section.Builder extends SdkPojo, CopyableBuilder<Section.Builder,Section>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Section.BuilderfieldGroup(Consumer<FieldGroup.Builder> fieldGroup)Consists of a group of fields and associated properties.Section.BuilderfieldGroup(FieldGroup fieldGroup)Consists of a group of fields and associated properties.-
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
-
fieldGroup
Section.Builder fieldGroup(FieldGroup fieldGroup)
Consists of a group of fields and associated properties.
- Parameters:
fieldGroup- Consists of a group of fields and associated properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldGroup
default Section.Builder fieldGroup(Consumer<FieldGroup.Builder> fieldGroup)
Consists of a group of fields and associated properties.
This is a convenience method that creates an instance of theFieldGroup.Builderavoiding the need to create one manually viaFieldGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldGroup(FieldGroup).- Parameters:
fieldGroup- a consumer that will call methods onFieldGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldGroup(FieldGroup)
-
-