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