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