Interface Section.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Section.Builder,
,Section> SdkBuilder<Section.Builder,
,Section> SdkPojo
- Enclosing class:
Section
-
Method Summary
Modifier and TypeMethodDescriptiondefault Section.Builder
fieldGroup
(Consumer<FieldGroup.Builder> fieldGroup) Consists of a group of fields and associated properties.fieldGroup
(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 Details
-
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
Consists of a group of fields and associated properties.
This is a convenience method that creates an instance of theFieldGroup.Builder
avoiding the need to create one manually viaFieldGroup.builder()
.When the
Consumer
completes,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:
-