Class CfnAnalysisPropsMixin.SectionStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAnalysisPropsMixin.SectionStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisPropsMixin.SectionStyleProperty>
- Enclosing interface:
CfnAnalysisPropsMixin.SectionStyleProperty
@Stability(Stable)
public static final class CfnAnalysisPropsMixin.SectionStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisPropsMixin.SectionStyleProperty>
A builder for
CfnAnalysisPropsMixin.SectionStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysisPropsMixin.SectionStyleProperty.getHeight()Sets the value ofCfnAnalysisPropsMixin.SectionStyleProperty.getPadding()padding(IResolvable padding) Sets the value ofCfnAnalysisPropsMixin.SectionStyleProperty.getPadding()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
height
Sets the value ofCfnAnalysisPropsMixin.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
@Stability(Stable) public CfnAnalysisPropsMixin.SectionStyleProperty.Builder padding(IResolvable padding) Sets the value ofCfnAnalysisPropsMixin.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 CfnAnalysisPropsMixin.SectionStyleProperty.Builder padding(CfnAnalysisPropsMixin.SpacingProperty padding) Sets the value ofCfnAnalysisPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysisPropsMixin.SectionStyleProperty>- Returns:
- a new instance of
CfnAnalysisPropsMixin.SectionStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-