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