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