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
Modifier and TypeMethodDescriptionsections(Collection<Section> sections) Sets the value of the Sections property for this object.sections(Consumer<Section.Builder>... sections) Sets the value of the Sections property for this object.Sets the value of the Sections property for this object.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
-
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
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
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 tosections(List<Section>).- 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:
-