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