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