@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FieldConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration information for a field in a table.
Constructor and Description |
---|
FieldConfig() |
Modifier and Type | Method and Description |
---|---|
FieldConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getExcluded()
Specifies whether to hide a field.
|
FieldInputConfig |
getInputType()
Describes the configuration for the default input value to display for a field.
|
String |
getLabel()
The label for the field.
|
FieldPosition |
getPosition()
Specifies the field position.
|
List<FieldValidationConfiguration> |
getValidations()
The validations to perform on the value in the field.
|
int |
hashCode() |
Boolean |
isExcluded()
Specifies whether to hide a field.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExcluded(Boolean excluded)
Specifies whether to hide a field.
|
void |
setInputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
|
void |
setLabel(String label)
The label for the field.
|
void |
setPosition(FieldPosition position)
Specifies the field position.
|
void |
setValidations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
|
String |
toString()
Returns a string representation of this object.
|
FieldConfig |
withExcluded(Boolean excluded)
Specifies whether to hide a field.
|
FieldConfig |
withInputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
|
FieldConfig |
withLabel(String label)
The label for the field.
|
FieldConfig |
withPosition(FieldPosition position)
Specifies the field position.
|
FieldConfig |
withValidations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
|
FieldConfig |
withValidations(FieldValidationConfiguration... validations)
The validations to perform on the value in the field.
|
public void setLabel(String label)
The label for the field.
label
- The label for the field.public String getLabel()
The label for the field.
public FieldConfig withLabel(String label)
The label for the field.
label
- The label for the field.public void setPosition(FieldPosition position)
Specifies the field position.
position
- Specifies the field position.public FieldPosition getPosition()
Specifies the field position.
public FieldConfig withPosition(FieldPosition position)
Specifies the field position.
position
- Specifies the field position.public void setExcluded(Boolean excluded)
Specifies whether to hide a field.
excluded
- Specifies whether to hide a field.public Boolean getExcluded()
Specifies whether to hide a field.
public FieldConfig withExcluded(Boolean excluded)
Specifies whether to hide a field.
excluded
- Specifies whether to hide a field.public Boolean isExcluded()
Specifies whether to hide a field.
public void setInputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
inputType
- Describes the configuration for the default input value to display for a field.public FieldInputConfig getInputType()
Describes the configuration for the default input value to display for a field.
public FieldConfig withInputType(FieldInputConfig inputType)
Describes the configuration for the default input value to display for a field.
inputType
- Describes the configuration for the default input value to display for a field.public List<FieldValidationConfiguration> getValidations()
The validations to perform on the value in the field.
public void setValidations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
validations
- The validations to perform on the value in the field.public FieldConfig withValidations(FieldValidationConfiguration... validations)
The validations to perform on the value in the field.
NOTE: This method appends the values to the existing list (if any). Use
setValidations(java.util.Collection)
or withValidations(java.util.Collection)
if you want to
override the existing values.
validations
- The validations to perform on the value in the field.public FieldConfig withValidations(Collection<FieldValidationConfiguration> validations)
The validations to perform on the value in the field.
validations
- The validations to perform on the value in the field.public String toString()
toString
in class Object
Object.toString()
public FieldConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.