Class CfnForm.FieldInputConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FieldInputConfigProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnForm.FieldInputConfigProperty>
- Enclosing interface:
 - CfnForm.FieldInputConfigProperty
 
@Stability(Stable)
public static final class CfnForm.FieldInputConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FieldInputConfigProperty>
A builder for 
CfnForm.FieldInputConfigProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultChecked(Boolean defaultChecked) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultChecked()defaultChecked(IResolvable defaultChecked) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultChecked()defaultCountryCode(String defaultCountryCode) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultCountryCode()defaultValue(String defaultValue) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultValue()descriptiveText(String descriptiveText) Sets the value ofCfnForm.FieldInputConfigProperty.getDescriptiveText()fileUploaderConfig(IResolvable fileUploaderConfig) Sets the value ofCfnForm.FieldInputConfigProperty.getFileUploaderConfig()fileUploaderConfig(CfnForm.FileUploaderFieldConfigProperty fileUploaderConfig) Sets the value ofCfnForm.FieldInputConfigProperty.getFileUploaderConfig()Sets the value ofCfnForm.FieldInputConfigProperty.getIsArray()isArray(IResolvable isArray) Sets the value ofCfnForm.FieldInputConfigProperty.getIsArray()Sets the value ofCfnForm.FieldInputConfigProperty.getMaxValue()Sets the value ofCfnForm.FieldInputConfigProperty.getMinValue()Sets the value ofCfnForm.FieldInputConfigProperty.getName()placeholder(String placeholder) Sets the value ofCfnForm.FieldInputConfigProperty.getPlaceholder()Sets the value ofCfnForm.FieldInputConfigProperty.getReadOnly()readOnly(IResolvable readOnly) Sets the value ofCfnForm.FieldInputConfigProperty.getReadOnly()Sets the value ofCfnForm.FieldInputConfigProperty.getRequired()required(IResolvable required) Sets the value ofCfnForm.FieldInputConfigProperty.getRequired()Sets the value ofCfnForm.FieldInputConfigProperty.getStep()Sets the value ofCfnForm.FieldInputConfigProperty.getType()Sets the value ofCfnForm.FieldInputConfigProperty.getValue()valueMappings(IResolvable valueMappings) Sets the value ofCfnForm.FieldInputConfigProperty.getValueMappings()valueMappings(CfnForm.ValueMappingsProperty valueMappings) Sets the value ofCfnForm.FieldInputConfigProperty.getValueMappings() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
type
Sets the value ofCfnForm.FieldInputConfigProperty.getType()- Parameters:
 type- The input type for the field. This parameter is required.- Returns:
 this
 - 
defaultChecked
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder defaultChecked(Boolean defaultChecked) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultChecked()- Parameters:
 defaultChecked- Specifies whether a field has a default value.- Returns:
 this
 - 
defaultChecked
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder defaultChecked(IResolvable defaultChecked) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultChecked()- Parameters:
 defaultChecked- Specifies whether a field has a default value.- Returns:
 this
 - 
defaultCountryCode
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder defaultCountryCode(String defaultCountryCode) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultCountryCode()- Parameters:
 defaultCountryCode- The default country code for a phone number.- Returns:
 this
 - 
defaultValue
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnForm.FieldInputConfigProperty.getDefaultValue()- Parameters:
 defaultValue- The default value for the field.- Returns:
 this
 - 
descriptiveText
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder descriptiveText(String descriptiveText) Sets the value ofCfnForm.FieldInputConfigProperty.getDescriptiveText()- Parameters:
 descriptiveText- The text to display to describe the field.- Returns:
 this
 - 
fileUploaderConfig
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder fileUploaderConfig(IResolvable fileUploaderConfig) Sets the value ofCfnForm.FieldInputConfigProperty.getFileUploaderConfig()- Parameters:
 fileUploaderConfig-CfnForm.FieldInputConfigProperty.FileUploaderConfig.- Returns:
 this
 - 
fileUploaderConfig
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder fileUploaderConfig(CfnForm.FileUploaderFieldConfigProperty fileUploaderConfig) Sets the value ofCfnForm.FieldInputConfigProperty.getFileUploaderConfig()- Parameters:
 fileUploaderConfig-CfnForm.FieldInputConfigProperty.FileUploaderConfig.- Returns:
 this
 - 
isArray
Sets the value ofCfnForm.FieldInputConfigProperty.getIsArray()- Parameters:
 isArray-CfnForm.FieldInputConfigProperty.IsArray.- Returns:
 this
 - 
isArray
Sets the value ofCfnForm.FieldInputConfigProperty.getIsArray()- Parameters:
 isArray-CfnForm.FieldInputConfigProperty.IsArray.- Returns:
 this
 - 
maxValue
Sets the value ofCfnForm.FieldInputConfigProperty.getMaxValue()- Parameters:
 maxValue- The maximum value to display for the field.- Returns:
 this
 - 
minValue
Sets the value ofCfnForm.FieldInputConfigProperty.getMinValue()- Parameters:
 minValue- The minimum value to display for the field.- Returns:
 this
 - 
name
Sets the value ofCfnForm.FieldInputConfigProperty.getName()- Parameters:
 name- The name of the field.- Returns:
 this
 - 
placeholder
Sets the value ofCfnForm.FieldInputConfigProperty.getPlaceholder()- Parameters:
 placeholder- The text to display as a placeholder for the field.- Returns:
 this
 - 
readOnly
Sets the value ofCfnForm.FieldInputConfigProperty.getReadOnly()- Parameters:
 readOnly- Specifies a read only field.- Returns:
 this
 - 
readOnly
Sets the value ofCfnForm.FieldInputConfigProperty.getReadOnly()- Parameters:
 readOnly- Specifies a read only field.- Returns:
 this
 - 
required
Sets the value ofCfnForm.FieldInputConfigProperty.getRequired()- Parameters:
 required- Specifies a field that requires input.- Returns:
 this
 - 
required
Sets the value ofCfnForm.FieldInputConfigProperty.getRequired()- Parameters:
 required- Specifies a field that requires input.- Returns:
 this
 - 
step
Sets the value ofCfnForm.FieldInputConfigProperty.getStep()- Parameters:
 step- The stepping increment for a numeric value in a field.- Returns:
 this
 - 
value
Sets the value ofCfnForm.FieldInputConfigProperty.getValue()- Parameters:
 value- The value for the field.- Returns:
 this
 - 
valueMappings
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder valueMappings(IResolvable valueMappings) Sets the value ofCfnForm.FieldInputConfigProperty.getValueMappings()- Parameters:
 valueMappings- The information to use to customize the input fields with data at runtime.- Returns:
 this
 - 
valueMappings
@Stability(Stable) public CfnForm.FieldInputConfigProperty.Builder valueMappings(CfnForm.ValueMappingsProperty valueMappings) Sets the value ofCfnForm.FieldInputConfigProperty.getValueMappings()- Parameters:
 valueMappings- The information to use to customize the input fields with data at runtime.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FieldInputConfigProperty>- Returns:
 - a new instance of 
CfnForm.FieldInputConfigProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -