Interface Section.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Section.Builder,,Section> SdkBuilder<Section.Builder,,Section> SdkPojo
- Enclosing class:
Section
-
Method Summary
Modifier and TypeMethodDescriptiondefault Section.BuilderfieldGroup(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-