Class CfnTemplate.BodySectionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.BodySectionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.BodySectionConfigurationProperty>
- Enclosing interface:
CfnTemplate.BodySectionConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.BodySectionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.BodySectionConfigurationProperty>
A builder for
CfnTemplate.BodySectionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.content
(IResolvable content) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getContent()
Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getContent()
pageBreakConfiguration
(IResolvable pageBreakConfiguration) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getPageBreakConfiguration()
pageBreakConfiguration
(CfnTemplate.SectionPageBreakConfigurationProperty pageBreakConfiguration) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getPageBreakConfiguration()
Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getSectionId()
style
(IResolvable style) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getStyle()
Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getStyle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder content(IResolvable content) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getContent()
- Parameters:
content
- The configuration of content in a body section. This parameter is required.- Returns:
this
-
content
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder content(CfnTemplate.BodySectionContentProperty content) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getContent()
- Parameters:
content
- The configuration of content in a body section. This parameter is required.- Returns:
this
-
sectionId
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder sectionId(String sectionId) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getSectionId()
- Parameters:
sectionId
- The unique identifier of a body section. This parameter is required.- Returns:
this
-
pageBreakConfiguration
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder pageBreakConfiguration(IResolvable pageBreakConfiguration) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getPageBreakConfiguration()
- Parameters:
pageBreakConfiguration
- The configuration of a page break for a section.- Returns:
this
-
pageBreakConfiguration
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder pageBreakConfiguration(CfnTemplate.SectionPageBreakConfigurationProperty pageBreakConfiguration) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getPageBreakConfiguration()
- Parameters:
pageBreakConfiguration
- The configuration of a page break for a section.- Returns:
this
-
style
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder style(IResolvable style) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getStyle()
- Parameters:
style
- The style options of a body section.- Returns:
this
-
style
@Stability(Stable) public CfnTemplate.BodySectionConfigurationProperty.Builder style(CfnTemplate.SectionStyleProperty style) Sets the value ofCfnTemplate.BodySectionConfigurationProperty.getStyle()
- Parameters:
style
- The style options of a body section.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.BodySectionConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.BodySectionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-