Interface Layout.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Layout.Builder,,Layout> SdkBuilder<Layout.Builder,,Layout> SdkPojo
- Enclosing class:
Layout
@Mutable
@NotThreadSafe
public static interface Layout.Builder
extends SdkPojo, CopyableBuilder<Layout.Builder,Layout>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Layout.Builderconfiguration(Consumer<LayoutConfiguration.Builder> configuration) The configuration that determines what the type of layout for a sheet.configuration(LayoutConfiguration configuration) The configuration that determines what the type of layout for a sheet.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, sdkFieldNameToField, sdkFields
-
Method Details
-
configuration
The configuration that determines what the type of layout for a sheet.
- Parameters:
configuration- The configuration that determines what the type of layout for a sheet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration that determines what the type of layout for a sheet.
This is a convenience method that creates an instance of theLayoutConfiguration.Builderavoiding the need to create one manually viaLayoutConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(LayoutConfiguration).- Parameters:
configuration- a consumer that will call methods onLayoutConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-