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 SummaryNested Classes
- 
Method SummaryModifier 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.ToCopyableBuildercopy
- 
Method Details- 
typeThe type of sectional element. Valid values are Heading,Text, andDivider.- Returns:
- The type of sectional element. Valid values are Heading,Text, andDivider.
 
- 
positionSpecifies 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.
 
- 
textThe text for a Textsectional element.- Returns:
- The text for a Textsectional element.
 
- 
levelSpecifies 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.
 
- 
orientationSpecifies the orientation for a Dividersectional element. Valid values arehorizontalorvertical.- Returns:
- Specifies the orientation for a Dividersectional element. Valid values arehorizontalorvertical.
 
- 
excludedExcludes 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.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<SectionalElement.Builder,- SectionalElement> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-