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