Class SectionalElement
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SectionalElement.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Booleanexcluded()Excludes a sectional element that was generated by default for a specified data model.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerlevel()Specifies the size of the font for aHeadingsectional element.final StringSpecifies the orientation for aDividersectional element.final FieldPositionposition()Specifies the position of the text in a field for aTextsectional element.static Class<? extends SectionalElement.Builder> final Stringtext()The text for aTextsectional element.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtype()The type of sectional element.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
The text for a
Textsectional element.- Returns:
- The text for a
Textsectional element.
-
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
Specifies the orientation for a
Dividersectional element. Valid values arehorizontalorvertical.- Returns:
- Specifies the orientation for a
Dividersectional element. Valid values arehorizontalorvertical.
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SectionalElement.Builder,SectionalElement> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-