@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFormData extends Object implements Serializable, Cloneable, StructuredPojo
Represents all of the information that is required to create a form.
Constructor and Description |
---|
CreateFormData() |
Modifier and Type | Method and Description |
---|---|
CreateFormData |
addFieldsEntry(String key,
FieldConfig value)
Add a single Fields entry
|
CreateFormData |
addSectionalElementsEntry(String key,
SectionalElement value)
Add a single SectionalElements entry
|
CreateFormData |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFormData |
clearFieldsEntries()
Removes all the entries added into Fields.
|
CreateFormData |
clearSectionalElementsEntries()
Removes all the entries added into SectionalElements.
|
CreateFormData |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFormData |
clone() |
boolean |
equals(Object obj) |
FormCTA |
getCta()
The
FormCTA object that stores the call to action configuration for the form. |
FormDataTypeConfig |
getDataType()
The type of data source to use to create the form.
|
Map<String,FieldConfig> |
getFields()
The configuration information for the form's fields.
|
String |
getFormActionType()
Specifies whether to perform a create or update action on the form.
|
String |
getLabelDecorator()
Specifies an icon or decoration to display on the form.
|
String |
getName()
The name of the form.
|
String |
getSchemaVersion()
The schema version of the form.
|
Map<String,SectionalElement> |
getSectionalElements()
The configuration information for the visual helper elements for the form.
|
FormStyle |
getStyle()
The configuration for the form's style.
|
Map<String,String> |
getTags()
One or more key-value pairs to use when tagging the form data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCta(FormCTA cta)
The
FormCTA object that stores the call to action configuration for the form. |
void |
setDataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
|
void |
setFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
|
void |
setFormActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
|
void |
setLabelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
|
void |
setName(String name)
The name of the form.
|
void |
setSchemaVersion(String schemaVersion)
The schema version of the form.
|
void |
setSectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form.
|
void |
setStyle(FormStyle style)
The configuration for the form's style.
|
void |
setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
|
String |
toString()
Returns a string representation of this object.
|
CreateFormData |
withCta(FormCTA cta)
The
FormCTA object that stores the call to action configuration for the form. |
CreateFormData |
withDataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
|
CreateFormData |
withFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
|
CreateFormData |
withFormActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
|
CreateFormData |
withFormActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
|
CreateFormData |
withLabelDecorator(LabelDecorator labelDecorator)
Specifies an icon or decoration to display on the form.
|
CreateFormData |
withLabelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
|
CreateFormData |
withName(String name)
The name of the form.
|
CreateFormData |
withSchemaVersion(String schemaVersion)
The schema version of the form.
|
CreateFormData |
withSectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form.
|
CreateFormData |
withStyle(FormStyle style)
The configuration for the form's style.
|
CreateFormData |
withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
|
public void setName(String name)
The name of the form.
name
- The name of the form.public String getName()
The name of the form.
public CreateFormData withName(String name)
The name of the form.
name
- The name of the form.public void setDataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
dataType
- The type of data source to use to create the form.public FormDataTypeConfig getDataType()
The type of data source to use to create the form.
public CreateFormData withDataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
dataType
- The type of data source to use to create the form.public void setFormActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
formActionType
- Specifies whether to perform a create or update action on the form.FormActionType
public String getFormActionType()
Specifies whether to perform a create or update action on the form.
FormActionType
public CreateFormData withFormActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
formActionType
- Specifies whether to perform a create or update action on the form.FormActionType
public CreateFormData withFormActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
formActionType
- Specifies whether to perform a create or update action on the form.FormActionType
public Map<String,FieldConfig> getFields()
The configuration information for the form's fields.
public void setFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
fields
- The configuration information for the form's fields.public CreateFormData withFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
fields
- The configuration information for the form's fields.public CreateFormData addFieldsEntry(String key, FieldConfig value)
public CreateFormData clearFieldsEntries()
public void setStyle(FormStyle style)
The configuration for the form's style.
style
- The configuration for the form's style.public FormStyle getStyle()
The configuration for the form's style.
public CreateFormData withStyle(FormStyle style)
The configuration for the form's style.
style
- The configuration for the form's style.public Map<String,SectionalElement> getSectionalElements()
The configuration information for the visual helper elements for the form. These elements are not associated with any data.
public void setSectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form. These elements are not associated with any data.
sectionalElements
- The configuration information for the visual helper elements for the form. These elements are not
associated with any data.public CreateFormData withSectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form. These elements are not associated with any data.
sectionalElements
- The configuration information for the visual helper elements for the form. These elements are not
associated with any data.public CreateFormData addSectionalElementsEntry(String key, SectionalElement value)
public CreateFormData clearSectionalElementsEntries()
public void setSchemaVersion(String schemaVersion)
The schema version of the form.
schemaVersion
- The schema version of the form.public String getSchemaVersion()
The schema version of the form.
public CreateFormData withSchemaVersion(String schemaVersion)
The schema version of the form.
schemaVersion
- The schema version of the form.public void setCta(FormCTA cta)
The FormCTA
object that stores the call to action configuration for the form.
cta
- The FormCTA
object that stores the call to action configuration for the form.public FormCTA getCta()
The FormCTA
object that stores the call to action configuration for the form.
FormCTA
object that stores the call to action configuration for the form.public CreateFormData withCta(FormCTA cta)
The FormCTA
object that stores the call to action configuration for the form.
cta
- The FormCTA
object that stores the call to action configuration for the form.public Map<String,String> getTags()
One or more key-value pairs to use when tagging the form data.
public void setTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
tags
- One or more key-value pairs to use when tagging the form data.public CreateFormData withTags(Map<String,String> tags)
One or more key-value pairs to use when tagging the form data.
tags
- One or more key-value pairs to use when tagging the form data.public CreateFormData addTagsEntry(String key, String value)
public CreateFormData clearTagsEntries()
public void setLabelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
labelDecorator
- Specifies an icon or decoration to display on the form.LabelDecorator
public String getLabelDecorator()
Specifies an icon or decoration to display on the form.
LabelDecorator
public CreateFormData withLabelDecorator(String labelDecorator)
Specifies an icon or decoration to display on the form.
labelDecorator
- Specifies an icon or decoration to display on the form.LabelDecorator
public CreateFormData withLabelDecorator(LabelDecorator labelDecorator)
Specifies an icon or decoration to display on the form.
labelDecorator
- Specifies an icon or decoration to display on the form.LabelDecorator
public String toString()
toString
in class Object
Object.toString()
public CreateFormData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.