Class CfnFormPropsMixin.FieldPositionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnFormPropsMixin.FieldPositionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFormPropsMixin.FieldPositionProperty>
- Enclosing interface:
CfnFormPropsMixin.FieldPositionProperty
@Stability(Stable)
public static final class CfnFormPropsMixin.FieldPositionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFormPropsMixin.FieldPositionProperty>
A builder for
CfnFormPropsMixin.FieldPositionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFormPropsMixin.FieldPositionProperty.getBelow()build()Builds the configured instance.Sets the value ofCfnFormPropsMixin.FieldPositionProperty.getFixed()Sets the value ofCfnFormPropsMixin.FieldPositionProperty.getRightOf()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
below
Sets the value ofCfnFormPropsMixin.FieldPositionProperty.getBelow()- Parameters:
below- The field position is below the field specified by the string.- Returns:
this
-
fixed
Sets the value ofCfnFormPropsMixin.FieldPositionProperty.getFixed()- Parameters:
fixed- The field position is fixed and doesn't change in relation to other fields.- Returns:
this
-
rightOf
Sets the value ofCfnFormPropsMixin.FieldPositionProperty.getRightOf()- Parameters:
rightOf- The field position is to the right of the field specified by the string.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFormPropsMixin.FieldPositionProperty>- Returns:
- a new instance of
CfnFormPropsMixin.FieldPositionProperty - Throws:
NullPointerException- if any required attribute was not provided
-