Class CfnDashboard.SpacingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.SpacingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.SpacingProperty>
- Enclosing interface:
CfnDashboard.SpacingProperty
@Stability(Stable)
public static final class CfnDashboard.SpacingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.SpacingProperty>
A builder for
CfnDashboard.SpacingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboard.SpacingProperty.getBottom()
build()
Builds the configured instance.Sets the value ofCfnDashboard.SpacingProperty.getLeft()
Sets the value ofCfnDashboard.SpacingProperty.getRight()
Sets the value ofCfnDashboard.SpacingProperty.getTop()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bottom
Sets the value ofCfnDashboard.SpacingProperty.getBottom()
- Parameters:
bottom
- Define the bottom spacing.- Returns:
this
-
left
Sets the value ofCfnDashboard.SpacingProperty.getLeft()
- Parameters:
left
- Define the left spacing.- Returns:
this
-
right
Sets the value ofCfnDashboard.SpacingProperty.getRight()
- Parameters:
right
- Define the right spacing.- Returns:
this
-
top
Sets the value ofCfnDashboard.SpacingProperty.getTop()
- Parameters:
top
- Define the top spacing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.SpacingProperty>
- Returns:
- a new instance of
CfnDashboard.SpacingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-