Class CfnForm.FormStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.FormStyleProperty>
- Enclosing interface:
CfnForm.FormStyleProperty
@Stability(Stable)
public static final class CfnForm.FormStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FormStyleProperty>
A builder for
CfnForm.FormStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.horizontalGap(IResolvable horizontalGap) Sets the value ofCfnForm.FormStyleProperty.getHorizontalGap()horizontalGap(CfnForm.FormStyleConfigProperty horizontalGap) Sets the value ofCfnForm.FormStyleProperty.getHorizontalGap()outerPadding(IResolvable outerPadding) Sets the value ofCfnForm.FormStyleProperty.getOuterPadding()outerPadding(CfnForm.FormStyleConfigProperty outerPadding) Sets the value ofCfnForm.FormStyleProperty.getOuterPadding()verticalGap(IResolvable verticalGap) Sets the value ofCfnForm.FormStyleProperty.getVerticalGap()verticalGap(CfnForm.FormStyleConfigProperty verticalGap) Sets the value ofCfnForm.FormStyleProperty.getVerticalGap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
horizontalGap
@Stability(Stable) public CfnForm.FormStyleProperty.Builder horizontalGap(IResolvable horizontalGap) Sets the value ofCfnForm.FormStyleProperty.getHorizontalGap()- Parameters:
horizontalGap- The spacing for the horizontal gap.- Returns:
this
-
horizontalGap
@Stability(Stable) public CfnForm.FormStyleProperty.Builder horizontalGap(CfnForm.FormStyleConfigProperty horizontalGap) Sets the value ofCfnForm.FormStyleProperty.getHorizontalGap()- Parameters:
horizontalGap- The spacing for the horizontal gap.- Returns:
this
-
outerPadding
Sets the value ofCfnForm.FormStyleProperty.getOuterPadding()- Parameters:
outerPadding- The size of the outer padding for the form.- Returns:
this
-
outerPadding
@Stability(Stable) public CfnForm.FormStyleProperty.Builder outerPadding(CfnForm.FormStyleConfigProperty outerPadding) Sets the value ofCfnForm.FormStyleProperty.getOuterPadding()- Parameters:
outerPadding- The size of the outer padding for the form.- Returns:
this
-
verticalGap
Sets the value ofCfnForm.FormStyleProperty.getVerticalGap()- Parameters:
verticalGap- The spacing for the vertical gap.- Returns:
this
-
verticalGap
@Stability(Stable) public CfnForm.FormStyleProperty.Builder verticalGap(CfnForm.FormStyleConfigProperty verticalGap) Sets the value ofCfnForm.FormStyleProperty.getVerticalGap()- Parameters:
verticalGap- The spacing for the vertical gap.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FormStyleProperty>- Returns:
- a new instance of
CfnForm.FormStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-