Class CfnAnalysis.GridLayoutElementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.GridLayoutElementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.GridLayoutElementProperty>
- Enclosing interface:
CfnAnalysis.GridLayoutElementProperty
@Stability(Stable)
public static final class CfnAnalysis.GridLayoutElementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.GridLayoutElementProperty>
A builder for
CfnAnalysis.GridLayoutElementProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnIndex
(Number columnIndex) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getColumnIndex()
columnSpan
(Number columnSpan) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getColumnSpan()
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getElementId()
elementType
(String elementType) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getElementType()
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getRowIndex()
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getRowSpan()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnSpan
@Stability(Stable) public CfnAnalysis.GridLayoutElementProperty.Builder columnSpan(Number columnSpan) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getColumnSpan()
- Parameters:
columnSpan
- The width of a grid element expressed as a number of grid columns. This parameter is required.- Returns:
this
-
elementId
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getElementId()
- Parameters:
elementId
- A unique identifier for an element within a grid layout. This parameter is required.- Returns:
this
-
elementType
@Stability(Stable) public CfnAnalysis.GridLayoutElementProperty.Builder elementType(String elementType) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getElementType()
- Parameters:
elementType
- The type of element. This parameter is required.- Returns:
this
-
rowSpan
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getRowSpan()
- Parameters:
rowSpan
- The height of a grid element expressed as a number of grid rows. This parameter is required.- Returns:
this
-
columnIndex
@Stability(Stable) public CfnAnalysis.GridLayoutElementProperty.Builder columnIndex(Number columnIndex) Sets the value ofCfnAnalysis.GridLayoutElementProperty.getColumnIndex()
- Parameters:
columnIndex
- The column index for the upper left corner of an element.- Returns:
this
-
rowIndex
Sets the value ofCfnAnalysis.GridLayoutElementProperty.getRowIndex()
- Parameters:
rowIndex
- The row index for the upper left corner of an element.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.GridLayoutElementProperty>
- Returns:
- a new instance of
CfnAnalysis.GridLayoutElementProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-