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
Constructors -
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) repeatConfiguration(IResolvable repeatConfiguration) Sets the value ofCfnDashboard.BodySectionConfigurationProperty.getRepeatConfiguration()repeatConfiguration(CfnDashboard.BodySectionRepeatConfigurationProperty repeatConfiguration) Sets the value ofCfnDashboard.BodySectionConfigurationProperty.getRepeatConfiguration()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
-
repeatConfiguration
@Stability(Stable) public CfnDashboard.BodySectionConfigurationProperty.Builder repeatConfiguration(IResolvable repeatConfiguration) Sets the value ofCfnDashboard.BodySectionConfigurationProperty.getRepeatConfiguration()- Parameters:
repeatConfiguration- Describes the configurations that are required to declare a section as repeating.- Returns:
this
-
repeatConfiguration
@Stability(Stable) public CfnDashboard.BodySectionConfigurationProperty.Builder repeatConfiguration(CfnDashboard.BodySectionRepeatConfigurationProperty repeatConfiguration) Sets the value ofCfnDashboard.BodySectionConfigurationProperty.getRepeatConfiguration()- Parameters:
repeatConfiguration- Describes the configurations that are required to declare a section as repeating.- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.BodySectionConfigurationProperty>- Returns:
- a new instance of
CfnDashboard.BodySectionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-