Class CfnDashboardPropsMixin.GridLayoutElementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.GridLayoutElementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.GridLayoutElementProperty>
- Enclosing interface:
CfnDashboardPropsMixin.GridLayoutElementProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.GridLayoutElementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.GridLayoutElementProperty>
A builder for
CfnDashboardPropsMixin.GridLayoutElementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBackgroundStyle()backgroundStyle(IResolvable backgroundStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBackgroundStyle()borderRadius(String borderRadius) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderRadius()Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderStyle()borderStyle(IResolvable borderStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderStyle()build()Builds the configured instance.columnIndex(Number columnIndex) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getColumnIndex()columnSpan(Number columnSpan) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getColumnSpan()Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getElementId()elementType(String elementType) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getElementType()loadingAnimation(CfnDashboardPropsMixin.LoadingAnimationProperty loadingAnimation) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getLoadingAnimation()loadingAnimation(IResolvable loadingAnimation) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getLoadingAnimation()Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getPadding()Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getRowIndex()Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getRowSpan()selectedBorderStyle(CfnDashboardPropsMixin.GridLayoutElementBorderStyleProperty selectedBorderStyle) selectedBorderStyle(IResolvable selectedBorderStyle)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder backgroundStyle(IResolvable backgroundStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBackgroundStyle()- Parameters:
backgroundStyle- The background style configuration of a grid layout element.- Returns:
this
-
backgroundStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder backgroundStyle(CfnDashboardPropsMixin.GridLayoutElementBackgroundStyleProperty backgroundStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBackgroundStyle()- Parameters:
backgroundStyle- The background style configuration of a grid layout element.- Returns:
this
-
borderRadius
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder borderRadius(String borderRadius) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderRadius()- Parameters:
borderRadius- The border radius of a grid layout element.- Returns:
this
-
borderStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder borderStyle(IResolvable borderStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderStyle()- Parameters:
borderStyle- The border style configuration of a grid layout element.- Returns:
this
-
borderStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder borderStyle(CfnDashboardPropsMixin.GridLayoutElementBorderStyleProperty borderStyle) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getBorderStyle()- Parameters:
borderStyle- The border style configuration of a grid layout element.- Returns:
this
-
columnIndex
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder columnIndex(Number columnIndex) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getColumnIndex()- Parameters:
columnIndex- The column index for the upper left corner of an element.- Returns:
this
-
columnSpan
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder columnSpan(Number columnSpan) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getColumnSpan()- Parameters:
columnSpan- The width of a grid element expressed as a number of grid columns.- Returns:
this
-
elementId
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder elementId(String elementId) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getElementId()- Parameters:
elementId- A unique identifier for an element within a grid layout.- Returns:
this
-
elementType
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder elementType(String elementType) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getElementType()- Parameters:
elementType- The type of element.- Returns:
this
-
loadingAnimation
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder loadingAnimation(IResolvable loadingAnimation) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getLoadingAnimation()- Parameters:
loadingAnimation- the value to be set.- Returns:
this
-
loadingAnimation
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder loadingAnimation(CfnDashboardPropsMixin.LoadingAnimationProperty loadingAnimation) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getLoadingAnimation()- Parameters:
loadingAnimation- the value to be set.- Returns:
this
-
padding
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder padding(String padding) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getPadding()- Parameters:
padding- The padding of a grid layout element.- Returns:
this
-
rowIndex
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder rowIndex(Number rowIndex) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getRowIndex()- Parameters:
rowIndex- The row index for the upper left corner of an element.- Returns:
this
-
rowSpan
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder rowSpan(Number rowSpan) Sets the value ofCfnDashboardPropsMixin.GridLayoutElementProperty.getRowSpan()- Parameters:
rowSpan- The height of a grid element expressed as a number of grid rows.- Returns:
this
-
selectedBorderStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder selectedBorderStyle(IResolvable selectedBorderStyle) - Parameters:
selectedBorderStyle- The border style configuration of a grid layout element. This border style is used when the element is selected.- Returns:
this
-
selectedBorderStyle
@Stability(Stable) public CfnDashboardPropsMixin.GridLayoutElementProperty.Builder selectedBorderStyle(CfnDashboardPropsMixin.GridLayoutElementBorderStyleProperty selectedBorderStyle) - Parameters:
selectedBorderStyle- The border style configuration of a grid layout element. This border style is used when the element is selected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.GridLayoutElementProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.GridLayoutElementProperty - Throws:
NullPointerException- if any required attribute was not provided
-