@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFormData extends Object implements Serializable, Cloneable, StructuredPojo
Updates and saves all of the information about a form, based on form ID.
Constructor and Description |
---|
UpdateFormData() |
Modifier and Type | Method and Description |
---|---|
UpdateFormData |
addFieldsEntry(String key,
FieldConfig value)
Add a single Fields entry
|
UpdateFormData |
addSectionalElementsEntry(String key,
SectionalElement value)
Add a single SectionalElements entry
|
UpdateFormData |
clearFieldsEntries()
Removes all the entries added into Fields.
|
UpdateFormData |
clearSectionalElementsEntries()
Removes all the entries added into SectionalElements.
|
UpdateFormData |
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 |
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.
|
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 |
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.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFormData |
withCta(FormCTA cta)
The
FormCTA object that stores the call to action configuration for the form. |
UpdateFormData |
withDataType(FormDataTypeConfig dataType)
The type of data source to use to create the form.
|
UpdateFormData |
withFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
|
UpdateFormData |
withFormActionType(FormActionType formActionType)
Specifies whether to perform a create or update action on the form.
|
UpdateFormData |
withFormActionType(String formActionType)
Specifies whether to perform a create or update action on the form.
|
UpdateFormData |
withName(String name)
The name of the form.
|
UpdateFormData |
withSchemaVersion(String schemaVersion)
The schema version of the form.
|
UpdateFormData |
withSectionalElements(Map<String,SectionalElement> sectionalElements)
The configuration information for the visual helper elements for the form.
|
UpdateFormData |
withStyle(FormStyle style)
The configuration for the form's style.
|
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 UpdateFormData 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 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 UpdateFormData 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 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 UpdateFormData withFields(Map<String,FieldConfig> fields)
The configuration information for the form's fields.
fields
- The configuration information for the form's fields.public UpdateFormData addFieldsEntry(String key, FieldConfig value)
public UpdateFormData clearFieldsEntries()
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 UpdateFormData 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 UpdateFormData 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 void setName(String name)
The name of the form.
name
- The name of the form.public String getName()
The name of the form.
public UpdateFormData withName(String name)
The name of the form.
name
- The name of the form.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 UpdateFormData withSchemaVersion(String schemaVersion)
The schema version of the form.
schemaVersion
- The schema version of the form.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 UpdateFormData 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 UpdateFormData addSectionalElementsEntry(String key, SectionalElement value)
public UpdateFormData clearSectionalElementsEntries()
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 UpdateFormData withStyle(FormStyle style)
The configuration for the form's style.
style
- The configuration for the form's style.public String toString()
toString
in class Object
Object.toString()
public UpdateFormData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.