Class SectionalElement
- java.lang.Object
-
- software.amazon.awssdk.services.amplifyuibuilder.model.SectionalElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SectionalElement.Builder,SectionalElement>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSectionalElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SectionalElement.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanexcluded()Excludes a sectional element that was generated by default for a specified data model.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlevel()Specifies the size of the font for aHeadingsectional element.Stringorientation()Specifies the orientation for aDividersectional element.FieldPositionposition()Specifies the position of the text in a field for aTextsectional element.List<SdkField<?>>sdkFields()static Class<? extends SectionalElement.Builder>serializableBuilderClass()Stringtext()The text for aTextsectional element.SectionalElement.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of sectional element.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final String type()
The type of sectional element. Valid values are
Heading,Text, andDivider.- Returns:
- The type of sectional element. Valid values are
Heading,Text, andDivider.
-
position
public final FieldPosition position()
Specifies the position of the text in a field for a
Textsectional element.- Returns:
- Specifies the position of the text in a field for a
Textsectional element.
-
text
public final String text()
The text for a
Textsectional element.- Returns:
- The text for a
Textsectional element.
-
level
public final Integer level()
Specifies the size of the font for a
Headingsectional element. Valid values are1 | 2 | 3 | 4 | 5 | 6.- Returns:
- Specifies the size of the font for a
Headingsectional element. Valid values are1 | 2 | 3 | 4 | 5 | 6.
-
orientation
public final String orientation()
Specifies the orientation for a
Dividersectional element. Valid values arehorizontalorvertical.- Returns:
- Specifies the orientation for a
Dividersectional element. Valid values arehorizontalorvertical.
-
excluded
public final Boolean excluded()
Excludes a sectional element that was generated by default for a specified data model.
- Returns:
- Excludes a sectional element that was generated by default for a specified data model.
-
toBuilder
public SectionalElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SectionalElement.Builder,SectionalElement>
-
builder
public static SectionalElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends SectionalElement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-