Class CfnTemplate.SectionStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.SectionStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.SectionStyleProperty>
- Enclosing interface:
CfnTemplate.SectionStyleProperty
@Stability(Stable)
public static final class CfnTemplate.SectionStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.SectionStyleProperty>
A builder for
CfnTemplate.SectionStyleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.SectionStyleProperty.getHeight()
padding
(IResolvable padding) Sets the value ofCfnTemplate.SectionStyleProperty.getPadding()
padding
(CfnTemplate.SpacingProperty padding) Sets the value ofCfnTemplate.SectionStyleProperty.getPadding()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
height
Sets the value ofCfnTemplate.SectionStyleProperty.getHeight()
- 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:
this
-
padding
Sets the value ofCfnTemplate.SectionStyleProperty.getPadding()
- Parameters:
padding
- The spacing between section content and its top, bottom, left, and right edges. There is no padding by default.- Returns:
this
-
padding
@Stability(Stable) public CfnTemplate.SectionStyleProperty.Builder padding(CfnTemplate.SpacingProperty padding) Sets the value ofCfnTemplate.SectionStyleProperty.getPadding()
- Parameters:
padding
- The spacing between section content and its top, bottom, left, and right edges. There is no padding by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.SectionStyleProperty>
- Returns:
- a new instance of
CfnTemplate.SectionStyleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-