@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldInputConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration for the default input values to display for a field.
Constructor and Description |
---|
FieldInputConfig() |
Modifier and Type | Method and Description |
---|---|
FieldInputConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDefaultChecked()
Specifies whether a field has a default value.
|
String |
getDefaultCountryCode()
The default country code for a phone number.
|
String |
getDefaultValue()
The default value for the field.
|
String |
getDescriptiveText()
The text to display to describe the field.
|
FileUploaderFieldConfig |
getFileUploaderConfig()
The configuration for the file uploader field.
|
Boolean |
getIsArray()
Specifies whether to render the field as an array.
|
Float |
getMaxValue()
The maximum value to display for the field.
|
Float |
getMinValue()
The minimum value to display for the field.
|
String |
getName()
The name of the field.
|
String |
getPlaceholder()
The text to display as a placeholder for the field.
|
Boolean |
getReadOnly()
Specifies a read only field.
|
Boolean |
getRequired()
Specifies a field that requires input.
|
Float |
getStep()
The stepping increment for a numeric value in a field.
|
String |
getType()
The input type for the field.
|
String |
getValue()
The value for the field.
|
ValueMappings |
getValueMappings()
The information to use to customize the input fields with data at runtime.
|
int |
hashCode() |
Boolean |
isArray()
Specifies whether to render the field as an array.
|
Boolean |
isDefaultChecked()
Specifies whether a field has a default value.
|
Boolean |
isReadOnly()
Specifies a read only field.
|
Boolean |
isRequired()
Specifies a field that requires input.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
|
void |
setDefaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
|
void |
setDefaultValue(String defaultValue)
The default value for the field.
|
void |
setDescriptiveText(String descriptiveText)
The text to display to describe the field.
|
void |
setFileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
|
void |
setIsArray(Boolean isArray)
Specifies whether to render the field as an array.
|
void |
setMaxValue(Float maxValue)
The maximum value to display for the field.
|
void |
setMinValue(Float minValue)
The minimum value to display for the field.
|
void |
setName(String name)
The name of the field.
|
void |
setPlaceholder(String placeholder)
The text to display as a placeholder for the field.
|
void |
setReadOnly(Boolean readOnly)
Specifies a read only field.
|
void |
setRequired(Boolean required)
Specifies a field that requires input.
|
void |
setStep(Float step)
The stepping increment for a numeric value in a field.
|
void |
setType(String type)
The input type for the field.
|
void |
setValue(String value)
The value for the field.
|
void |
setValueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
|
String |
toString()
Returns a string representation of this object.
|
FieldInputConfig |
withDefaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
|
FieldInputConfig |
withDefaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
|
FieldInputConfig |
withDefaultValue(String defaultValue)
The default value for the field.
|
FieldInputConfig |
withDescriptiveText(String descriptiveText)
The text to display to describe the field.
|
FieldInputConfig |
withFileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
|
FieldInputConfig |
withIsArray(Boolean isArray)
Specifies whether to render the field as an array.
|
FieldInputConfig |
withMaxValue(Float maxValue)
The maximum value to display for the field.
|
FieldInputConfig |
withMinValue(Float minValue)
The minimum value to display for the field.
|
FieldInputConfig |
withName(String name)
The name of the field.
|
FieldInputConfig |
withPlaceholder(String placeholder)
The text to display as a placeholder for the field.
|
FieldInputConfig |
withReadOnly(Boolean readOnly)
Specifies a read only field.
|
FieldInputConfig |
withRequired(Boolean required)
Specifies a field that requires input.
|
FieldInputConfig |
withStep(Float step)
The stepping increment for a numeric value in a field.
|
FieldInputConfig |
withType(String type)
The input type for the field.
|
FieldInputConfig |
withValue(String value)
The value for the field.
|
FieldInputConfig |
withValueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
|
public void setType(String type)
The input type for the field.
type
- The input type for the field.public String getType()
The input type for the field.
public FieldInputConfig withType(String type)
The input type for the field.
type
- The input type for the field.public void setRequired(Boolean required)
Specifies a field that requires input.
required
- Specifies a field that requires input.public Boolean getRequired()
Specifies a field that requires input.
public FieldInputConfig withRequired(Boolean required)
Specifies a field that requires input.
required
- Specifies a field that requires input.public Boolean isRequired()
Specifies a field that requires input.
public void setReadOnly(Boolean readOnly)
Specifies a read only field.
readOnly
- Specifies a read only field.public Boolean getReadOnly()
Specifies a read only field.
public FieldInputConfig withReadOnly(Boolean readOnly)
Specifies a read only field.
readOnly
- Specifies a read only field.public Boolean isReadOnly()
Specifies a read only field.
public void setPlaceholder(String placeholder)
The text to display as a placeholder for the field.
placeholder
- The text to display as a placeholder for the field.public String getPlaceholder()
The text to display as a placeholder for the field.
public FieldInputConfig withPlaceholder(String placeholder)
The text to display as a placeholder for the field.
placeholder
- The text to display as a placeholder for the field.public void setDefaultValue(String defaultValue)
The default value for the field.
defaultValue
- The default value for the field.public String getDefaultValue()
The default value for the field.
public FieldInputConfig withDefaultValue(String defaultValue)
The default value for the field.
defaultValue
- The default value for the field.public void setDescriptiveText(String descriptiveText)
The text to display to describe the field.
descriptiveText
- The text to display to describe the field.public String getDescriptiveText()
The text to display to describe the field.
public FieldInputConfig withDescriptiveText(String descriptiveText)
The text to display to describe the field.
descriptiveText
- The text to display to describe the field.public void setDefaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
defaultChecked
- Specifies whether a field has a default value.public Boolean getDefaultChecked()
Specifies whether a field has a default value.
public FieldInputConfig withDefaultChecked(Boolean defaultChecked)
Specifies whether a field has a default value.
defaultChecked
- Specifies whether a field has a default value.public Boolean isDefaultChecked()
Specifies whether a field has a default value.
public void setDefaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
defaultCountryCode
- The default country code for a phone number.public String getDefaultCountryCode()
The default country code for a phone number.
public FieldInputConfig withDefaultCountryCode(String defaultCountryCode)
The default country code for a phone number.
defaultCountryCode
- The default country code for a phone number.public void setValueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
valueMappings
- The information to use to customize the input fields with data at runtime.public ValueMappings getValueMappings()
The information to use to customize the input fields with data at runtime.
public FieldInputConfig withValueMappings(ValueMappings valueMappings)
The information to use to customize the input fields with data at runtime.
valueMappings
- The information to use to customize the input fields with data at runtime.public void setName(String name)
The name of the field.
name
- The name of the field.public String getName()
The name of the field.
public FieldInputConfig withName(String name)
The name of the field.
name
- The name of the field.public void setMinValue(Float minValue)
The minimum value to display for the field.
minValue
- The minimum value to display for the field.public Float getMinValue()
The minimum value to display for the field.
public FieldInputConfig withMinValue(Float minValue)
The minimum value to display for the field.
minValue
- The minimum value to display for the field.public void setMaxValue(Float maxValue)
The maximum value to display for the field.
maxValue
- The maximum value to display for the field.public Float getMaxValue()
The maximum value to display for the field.
public FieldInputConfig withMaxValue(Float maxValue)
The maximum value to display for the field.
maxValue
- The maximum value to display for the field.public void setStep(Float step)
The stepping increment for a numeric value in a field.
step
- The stepping increment for a numeric value in a field.public Float getStep()
The stepping increment for a numeric value in a field.
public FieldInputConfig withStep(Float step)
The stepping increment for a numeric value in a field.
step
- The stepping increment for a numeric value in a field.public void setValue(String value)
The value for the field.
value
- The value for the field.public String getValue()
The value for the field.
public FieldInputConfig withValue(String value)
The value for the field.
value
- The value for the field.public void setIsArray(Boolean isArray)
Specifies whether to render the field as an array. This property is ignored if the dataSourceType
for the form is a Data Store.
isArray
- Specifies whether to render the field as an array. This property is ignored if the
dataSourceType
for the form is a Data Store.public Boolean getIsArray()
Specifies whether to render the field as an array. This property is ignored if the dataSourceType
for the form is a Data Store.
dataSourceType
for the form is a Data Store.public FieldInputConfig withIsArray(Boolean isArray)
Specifies whether to render the field as an array. This property is ignored if the dataSourceType
for the form is a Data Store.
isArray
- Specifies whether to render the field as an array. This property is ignored if the
dataSourceType
for the form is a Data Store.public Boolean isArray()
Specifies whether to render the field as an array. This property is ignored if the dataSourceType
for the form is a Data Store.
dataSourceType
for the form is a Data Store.public void setFileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
fileUploaderConfig
- The configuration for the file uploader field.public FileUploaderFieldConfig getFileUploaderConfig()
The configuration for the file uploader field.
public FieldInputConfig withFileUploaderConfig(FileUploaderFieldConfig fileUploaderConfig)
The configuration for the file uploader field.
fileUploaderConfig
- The configuration for the file uploader field.public String toString()
toString
in class Object
Object.toString()
public FieldInputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.