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