@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistrationFieldDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Provides a description of the specified field.
Constructor and Description |
---|
RegistrationFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
RegistrationFieldDefinition |
clone() |
boolean |
equals(Object obj) |
RegistrationFieldDisplayHints |
getDisplayHints()
An array of RegistrationFieldDisplayHints objects for the field.
|
String |
getFieldPath()
The path to the registration form field.
|
String |
getFieldRequirement()
Specifies if the field for the registration form is required, conditional or optional.
|
String |
getFieldType()
The type of field.
|
String |
getSectionPath()
The section path of the field.
|
SelectValidation |
getSelectValidation()
The validation rules for a select field.
|
TextValidation |
getTextValidation()
The validation rules for a text field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayHints(RegistrationFieldDisplayHints displayHints)
An array of RegistrationFieldDisplayHints objects for the field.
|
void |
setFieldPath(String fieldPath)
The path to the registration form field.
|
void |
setFieldRequirement(String fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
|
void |
setFieldType(String fieldType)
The type of field.
|
void |
setSectionPath(String sectionPath)
The section path of the field.
|
void |
setSelectValidation(SelectValidation selectValidation)
The validation rules for a select field.
|
void |
setTextValidation(TextValidation textValidation)
The validation rules for a text field.
|
String |
toString()
Returns a string representation of this object.
|
RegistrationFieldDefinition |
withDisplayHints(RegistrationFieldDisplayHints displayHints)
An array of RegistrationFieldDisplayHints objects for the field.
|
RegistrationFieldDefinition |
withFieldPath(String fieldPath)
The path to the registration form field.
|
RegistrationFieldDefinition |
withFieldRequirement(FieldRequirement fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
|
RegistrationFieldDefinition |
withFieldRequirement(String fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
|
RegistrationFieldDefinition |
withFieldType(FieldType fieldType)
The type of field.
|
RegistrationFieldDefinition |
withFieldType(String fieldType)
The type of field.
|
RegistrationFieldDefinition |
withSectionPath(String sectionPath)
The section path of the field.
|
RegistrationFieldDefinition |
withSelectValidation(SelectValidation selectValidation)
The validation rules for a select field.
|
RegistrationFieldDefinition |
withTextValidation(TextValidation textValidation)
The validation rules for a text field.
|
public void setSectionPath(String sectionPath)
The section path of the field.
sectionPath
- The section path of the field.public String getSectionPath()
The section path of the field.
public RegistrationFieldDefinition withSectionPath(String sectionPath)
The section path of the field.
sectionPath
- The section path of the field.public void setFieldPath(String fieldPath)
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
fieldPath
- The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a
list of FieldPaths.public String getFieldPath()
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
public RegistrationFieldDefinition withFieldPath(String fieldPath)
The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a list of FieldPaths.
fieldPath
- The path to the registration form field. You can use DescribeRegistrationFieldDefinitions for a
list of FieldPaths.public void setFieldType(String fieldType)
The type of field.
fieldType
- The type of field.FieldType
public String getFieldType()
The type of field.
FieldType
public RegistrationFieldDefinition withFieldType(String fieldType)
The type of field.
fieldType
- The type of field.FieldType
public RegistrationFieldDefinition withFieldType(FieldType fieldType)
The type of field.
fieldType
- The type of field.FieldType
public void setFieldRequirement(String fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
fieldRequirement
- Specifies if the field for the registration form is required, conditional or optional.FieldRequirement
public String getFieldRequirement()
Specifies if the field for the registration form is required, conditional or optional.
FieldRequirement
public RegistrationFieldDefinition withFieldRequirement(String fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
fieldRequirement
- Specifies if the field for the registration form is required, conditional or optional.FieldRequirement
public RegistrationFieldDefinition withFieldRequirement(FieldRequirement fieldRequirement)
Specifies if the field for the registration form is required, conditional or optional.
fieldRequirement
- Specifies if the field for the registration form is required, conditional or optional.FieldRequirement
public void setSelectValidation(SelectValidation selectValidation)
The validation rules for a select field.
selectValidation
- The validation rules for a select field.public SelectValidation getSelectValidation()
The validation rules for a select field.
public RegistrationFieldDefinition withSelectValidation(SelectValidation selectValidation)
The validation rules for a select field.
selectValidation
- The validation rules for a select field.public void setTextValidation(TextValidation textValidation)
The validation rules for a text field.
textValidation
- The validation rules for a text field.public TextValidation getTextValidation()
The validation rules for a text field.
public RegistrationFieldDefinition withTextValidation(TextValidation textValidation)
The validation rules for a text field.
textValidation
- The validation rules for a text field.public void setDisplayHints(RegistrationFieldDisplayHints displayHints)
An array of RegistrationFieldDisplayHints objects for the field.
displayHints
- An array of RegistrationFieldDisplayHints objects for the field.public RegistrationFieldDisplayHints getDisplayHints()
An array of RegistrationFieldDisplayHints objects for the field.
public RegistrationFieldDefinition withDisplayHints(RegistrationFieldDisplayHints displayHints)
An array of RegistrationFieldDisplayHints objects for the field.
displayHints
- An array of RegistrationFieldDisplayHints objects for the field.public String toString()
toString
in class Object
Object.toString()
public RegistrationFieldDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.