Class CfnForm.FieldConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FieldConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.FieldConfigProperty>
- Enclosing interface:
CfnForm.FieldConfigProperty
@Stability(Stable)
public static final class CfnForm.FieldConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FieldConfigProperty>
A builder for
CfnForm.FieldConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnForm.FieldConfigProperty.getExcluded()excluded(IResolvable excluded) Sets the value ofCfnForm.FieldConfigProperty.getExcluded()inputType(IResolvable inputType) Sets the value ofCfnForm.FieldConfigProperty.getInputType()inputType(CfnForm.FieldInputConfigProperty inputType) Sets the value ofCfnForm.FieldConfigProperty.getInputType()Sets the value ofCfnForm.FieldConfigProperty.getLabel()position(IResolvable position) Sets the value ofCfnForm.FieldConfigProperty.getPosition()position(CfnForm.FieldPositionProperty position) Sets the value ofCfnForm.FieldConfigProperty.getPosition()validations(List<? extends Object> validations) Sets the value ofCfnForm.FieldConfigProperty.getValidations()validations(IResolvable validations) Sets the value ofCfnForm.FieldConfigProperty.getValidations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excluded
Sets the value ofCfnForm.FieldConfigProperty.getExcluded()- Parameters:
excluded- Specifies whether to hide a field.- Returns:
this
-
excluded
Sets the value ofCfnForm.FieldConfigProperty.getExcluded()- Parameters:
excluded- Specifies whether to hide a field.- Returns:
this
-
inputType
Sets the value ofCfnForm.FieldConfigProperty.getInputType()- Parameters:
inputType- Describes the configuration for the default input value to display for a field.- Returns:
this
-
inputType
@Stability(Stable) public CfnForm.FieldConfigProperty.Builder inputType(CfnForm.FieldInputConfigProperty inputType) Sets the value ofCfnForm.FieldConfigProperty.getInputType()- Parameters:
inputType- Describes the configuration for the default input value to display for a field.- Returns:
this
-
label
Sets the value ofCfnForm.FieldConfigProperty.getLabel()- Parameters:
label- The label for the field.- Returns:
this
-
position
Sets the value ofCfnForm.FieldConfigProperty.getPosition()- Parameters:
position- Specifies the field position.- Returns:
this
-
position
@Stability(Stable) public CfnForm.FieldConfigProperty.Builder position(CfnForm.FieldPositionProperty position) Sets the value ofCfnForm.FieldConfigProperty.getPosition()- Parameters:
position- Specifies the field position.- Returns:
this
-
validations
Sets the value ofCfnForm.FieldConfigProperty.getValidations()- Parameters:
validations- The validations to perform on the value in the field.- Returns:
this
-
validations
@Stability(Stable) public CfnForm.FieldConfigProperty.Builder validations(List<? extends Object> validations) Sets the value ofCfnForm.FieldConfigProperty.getValidations()- Parameters:
validations- The validations to perform on the value in the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FieldConfigProperty>- Returns:
- a new instance of
CfnForm.FieldConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-