@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SectionalElement extends Object implements Serializable, Cloneable, StructuredPojo
Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.
| Constructor and Description |
|---|
SectionalElement() |
| Modifier and Type | Method and Description |
|---|---|
SectionalElement |
clone() |
boolean |
equals(Object obj) |
Boolean |
getExcluded()
Excludes a sectional element that was generated by default for a specified data model.
|
Integer |
getLevel()
Specifies the size of the font for a
Heading sectional element. |
String |
getOrientation()
Specifies the orientation for a
Divider sectional element. |
FieldPosition |
getPosition()
Specifies the position of the text in a field for a
Text sectional element. |
String |
getText()
The text for a
Text sectional element. |
String |
getType()
The type of sectional element.
|
int |
hashCode() |
Boolean |
isExcluded()
Excludes a sectional element that was generated by default for a specified data model.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExcluded(Boolean excluded)
Excludes a sectional element that was generated by default for a specified data model.
|
void |
setLevel(Integer level)
Specifies the size of the font for a
Heading sectional element. |
void |
setOrientation(String orientation)
Specifies the orientation for a
Divider sectional element. |
void |
setPosition(FieldPosition position)
Specifies the position of the text in a field for a
Text sectional element. |
void |
setText(String text)
The text for a
Text sectional element. |
void |
setType(String type)
The type of sectional element.
|
String |
toString()
Returns a string representation of this object.
|
SectionalElement |
withExcluded(Boolean excluded)
Excludes a sectional element that was generated by default for a specified data model.
|
SectionalElement |
withLevel(Integer level)
Specifies the size of the font for a
Heading sectional element. |
SectionalElement |
withOrientation(String orientation)
Specifies the orientation for a
Divider sectional element. |
SectionalElement |
withPosition(FieldPosition position)
Specifies the position of the text in a field for a
Text sectional element. |
SectionalElement |
withText(String text)
The text for a
Text sectional element. |
SectionalElement |
withType(String type)
The type of sectional element.
|
public void setType(String type)
The type of sectional element. Valid values are Heading, Text, and Divider
.
type - The type of sectional element. Valid values are Heading, Text, and
Divider.public String getType()
The type of sectional element. Valid values are Heading, Text, and Divider
.
Heading, Text, and
Divider.public SectionalElement withType(String type)
The type of sectional element. Valid values are Heading, Text, and Divider
.
type - The type of sectional element. Valid values are Heading, Text, and
Divider.public void setPosition(FieldPosition position)
Specifies the position of the text in a field for a Text sectional element.
position - Specifies the position of the text in a field for a Text sectional element.public FieldPosition getPosition()
Specifies the position of the text in a field for a Text sectional element.
Text sectional element.public SectionalElement withPosition(FieldPosition position)
Specifies the position of the text in a field for a Text sectional element.
position - Specifies the position of the text in a field for a Text sectional element.public void setText(String text)
The text for a Text sectional element.
text - The text for a Text sectional element.public String getText()
The text for a Text sectional element.
Text sectional element.public SectionalElement withText(String text)
The text for a Text sectional element.
text - The text for a Text sectional element.public void setLevel(Integer level)
Specifies the size of the font for a Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.
level - Specifies the size of the font for a Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.public Integer getLevel()
Specifies the size of the font for a Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.
Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.public SectionalElement withLevel(Integer level)
Specifies the size of the font for a Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.
level - Specifies the size of the font for a Heading sectional element. Valid values are
1 | 2 | 3 | 4 | 5 | 6.public void setOrientation(String orientation)
Specifies the orientation for a Divider sectional element. Valid values are horizontal
or vertical.
orientation - Specifies the orientation for a Divider sectional element. Valid values are
horizontal or vertical.public String getOrientation()
Specifies the orientation for a Divider sectional element. Valid values are horizontal
or vertical.
Divider sectional element. Valid values are
horizontal or vertical.public SectionalElement withOrientation(String orientation)
Specifies the orientation for a Divider sectional element. Valid values are horizontal
or vertical.
orientation - Specifies the orientation for a Divider sectional element. Valid values are
horizontal or vertical.public void setExcluded(Boolean excluded)
Excludes a sectional element that was generated by default for a specified data model.
excluded - Excludes a sectional element that was generated by default for a specified data model.public Boolean getExcluded()
Excludes a sectional element that was generated by default for a specified data model.
public SectionalElement withExcluded(Boolean excluded)
Excludes a sectional element that was generated by default for a specified data model.
excluded - Excludes a sectional element that was generated by default for a specified data model.public Boolean isExcluded()
Excludes a sectional element that was generated by default for a specified data model.
public String toString()
toString in class ObjectObject.toString()public SectionalElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.