Interface SectionStyle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SectionStyle.Builder,
,SectionStyle> SdkBuilder<SectionStyle.Builder,
,SectionStyle> SdkPojo
- Enclosing class:
SectionStyle
@Mutable
@NotThreadSafe
public static interface SectionStyle.Builder
extends SdkPojo, CopyableBuilder<SectionStyle.Builder,SectionStyle>
-
Method Summary
Modifier and TypeMethodDescriptionThe height of a section.default SectionStyle.Builder
padding
(Consumer<Spacing.Builder> padding) The spacing between section content and its top, bottom, left, and right edges.The spacing between section content and its top, bottom, left, and right edges.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, sdkFieldNameToField, sdkFields
-
Method Details
-
height
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
- Parameters:
height
- The height of a section.Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
padding
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
- Parameters:
padding
- The spacing between section content and its top, bottom, left, and right edges.There is no padding by default.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
padding
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
This is a convenience method that creates an instance of theSpacing.Builder
avoiding the need to create one manually viaSpacing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topadding(Spacing)
.- Parameters:
padding
- a consumer that will call methods onSpacing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-