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