Class CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.FreeFormLayoutElementProperty>
- Enclosing interface:
CfnDashboardPropsMixin.FreeFormLayoutElementProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.FreeFormLayoutElementProperty>
A builder for
CfnDashboardPropsMixin.FreeFormLayoutElementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackgroundStyle(CfnDashboardPropsMixin.FreeFormLayoutElementBackgroundStyleProperty backgroundStyle) backgroundStyle(IResolvable backgroundStyle) borderRadius(String borderRadius) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderRadius()Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderStyle()borderStyle(IResolvable borderStyle) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderStyle()build()Builds the configured instance.Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getElementId()elementType(String elementType) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getElementType()Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getHeight()loadingAnimation(CfnDashboardPropsMixin.LoadingAnimationProperty loadingAnimation) loadingAnimation(IResolvable loadingAnimation) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getPadding()renderingRules(List<? extends Object> renderingRules) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getRenderingRules()renderingRules(IResolvable renderingRules) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getRenderingRules()selectedBorderStyle(CfnDashboardPropsMixin.FreeFormLayoutElementBorderStyleProperty selectedBorderStyle) selectedBorderStyle(IResolvable selectedBorderStyle) visibility(String visibility) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getVisibility()Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getWidth()xAxisLocation(String xAxisLocation) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getXAxisLocation()yAxisLocation(String yAxisLocation) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getYAxisLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder backgroundStyle(IResolvable backgroundStyle) - Parameters:
backgroundStyle- The background style configuration of a free-form layout element.- Returns:
this
-
backgroundStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder backgroundStyle(CfnDashboardPropsMixin.FreeFormLayoutElementBackgroundStyleProperty backgroundStyle) - Parameters:
backgroundStyle- The background style configuration of a free-form layout element.- Returns:
this
-
borderRadius
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder borderRadius(String borderRadius) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderRadius()- Parameters:
borderRadius- The border radius of a free-form layout element.- Returns:
this
-
borderStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder borderStyle(IResolvable borderStyle) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderStyle()- Parameters:
borderStyle- The border style configuration of a free-form layout element.- Returns:
this
-
borderStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder borderStyle(CfnDashboardPropsMixin.FreeFormLayoutElementBorderStyleProperty borderStyle) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getBorderStyle()- Parameters:
borderStyle- The border style configuration of a free-form layout element.- Returns:
this
-
elementId
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder elementId(String elementId) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getElementId()- Parameters:
elementId- A unique identifier for an element within a free-form layout.- Returns:
this
-
elementType
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder elementType(String elementType) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getElementType()- Parameters:
elementType- The type of element.- Returns:
this
-
height
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder height(String height) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getHeight()- Parameters:
height- The height of an element within a free-form layout.- Returns:
this
-
loadingAnimation
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder loadingAnimation(IResolvable loadingAnimation) - Parameters:
loadingAnimation- The loading animation configuration of a free-form layout element.- Returns:
this
-
loadingAnimation
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder loadingAnimation(CfnDashboardPropsMixin.LoadingAnimationProperty loadingAnimation) - Parameters:
loadingAnimation- The loading animation configuration of a free-form layout element.- Returns:
this
-
padding
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder padding(String padding) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getPadding()- Parameters:
padding- The padding of a free-form layout element.- Returns:
this
-
renderingRules
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder renderingRules(IResolvable renderingRules) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getRenderingRules()- Parameters:
renderingRules- The rendering rules that determine when an element should be displayed within a free-form layout.- Returns:
this
-
renderingRules
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder renderingRules(List<? extends Object> renderingRules) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getRenderingRules()- Parameters:
renderingRules- The rendering rules that determine when an element should be displayed within a free-form layout.- Returns:
this
-
selectedBorderStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder selectedBorderStyle(IResolvable selectedBorderStyle) - Parameters:
selectedBorderStyle- The border style configuration of a free-form layout element. This border style is used when the element is selected.- Returns:
this
-
selectedBorderStyle
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder selectedBorderStyle(CfnDashboardPropsMixin.FreeFormLayoutElementBorderStyleProperty selectedBorderStyle) - Parameters:
selectedBorderStyle- The border style configuration of a free-form layout element. This border style is used when the element is selected.- Returns:
this
-
visibility
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder visibility(String visibility) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getVisibility()- Parameters:
visibility- The visibility of an element within a free-form layout.- Returns:
this
-
width
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder width(String width) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getWidth()- Parameters:
width- The width of an element within a free-form layout.- Returns:
this
-
xAxisLocation
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder xAxisLocation(String xAxisLocation) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getXAxisLocation()- Parameters:
xAxisLocation- The x-axis coordinate of the element.- Returns:
this
-
yAxisLocation
@Stability(Stable) public CfnDashboardPropsMixin.FreeFormLayoutElementProperty.Builder yAxisLocation(String yAxisLocation) Sets the value ofCfnDashboardPropsMixin.FreeFormLayoutElementProperty.getYAxisLocation()- Parameters:
yAxisLocation- The y-axis coordinate of the element.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.FreeFormLayoutElementProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.FreeFormLayoutElementProperty - Throws:
NullPointerException- if any required attribute was not provided
-