@Generated(value="software.amazon.awssdk:codegen") public final class SectionalElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SectionalElement.Builder,SectionalElement>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SectionalElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SectionalElement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
excluded()
Excludes a sectional element that was generated by default for a specified data model.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
level()
Specifies the size of the font for a
Heading sectional element. |
String |
orientation()
Specifies the orientation for a
Divider sectional element. |
FieldPosition |
position()
Specifies the position of the text in a field for a
Text sectional element. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SectionalElement.Builder> |
serializableBuilderClass() |
String |
text()
The text for a
Text sectional element. |
SectionalElement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of sectional element.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String type()
The type of sectional element. Valid values are Heading, Text, and Divider
.
Heading, Text, and
Divider.public final FieldPosition position()
Specifies the position of the text in a field for a Text sectional element.
Text sectional element.public final String text()
The text for a Text sectional element.
Text sectional element.public final Integer level()
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 final String orientation()
Specifies the orientation for a Divider sectional element. Valid values are horizontal
or vertical.
Divider sectional element. Valid values are
horizontal or vertical.public final Boolean excluded()
Excludes a sectional element that was generated by default for a specified data model.
public SectionalElement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SectionalElement.Builder,SectionalElement>public static SectionalElement.Builder builder()
public static Class<? extends SectionalElement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.