Interface LayoutSections.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LayoutSections.Builder,LayoutSections>,SdkBuilder<LayoutSections.Builder,LayoutSections>,SdkPojo
- Enclosing class:
- LayoutSections
public static interface LayoutSections.Builder extends SdkPojo, CopyableBuilder<LayoutSections.Builder,LayoutSections>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LayoutSections.Buildersections(Collection<Section> sections)Sets the value of the Sections property for this object.LayoutSections.Buildersections(Consumer<Section.Builder>... sections)Sets the value of the Sections property for this object.LayoutSections.Buildersections(Section... sections)Sets the value of the Sections property for this object.-
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
-
sections
LayoutSections.Builder sections(Collection<Section> sections)
Sets the value of the Sections property for this object.- Parameters:
sections- The new value for the Sections property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sections
LayoutSections.Builder sections(Section... sections)
Sets the value of the Sections property for this object.- Parameters:
sections- The new value for the Sections property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sections
LayoutSections.Builder sections(Consumer<Section.Builder>... sections)
Sets the value of the Sections property for this object. This is a convenience method that creates an instance of theSection.Builderavoiding the need to create one manually viaSection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sections(List.) - Parameters:
sections- a consumer that will call methods onSection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sections(java.util.Collection)
-
-