@Generated(value="software.amazon.awssdk:codegen") public final class Section extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Section.Builder,Section>
This represents a sections within a panel or tab of the page layout.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Section.Builder |
static class |
Section.Type |
| Modifier and Type | Method and Description |
|---|---|
static Section.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FieldGroup |
fieldGroup()
Consists of a group of fields and associated properties.
|
static Section |
fromFieldGroup(Consumer<FieldGroup.Builder> fieldGroup)
Create an instance of this class with
fieldGroup() initialized to the given value. |
static Section |
fromFieldGroup(FieldGroup fieldGroup)
Create an instance of this class with
fieldGroup() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Section.Builder> |
serializableBuilderClass() |
Section.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Section.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FieldGroup fieldGroup()
Consists of a group of fields and associated properties.
public Section.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Section.Builder,Section>public static Section.Builder builder()
public static Class<? extends Section.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static Section fromFieldGroup(FieldGroup fieldGroup)
fieldGroup() initialized to the given value.
Consists of a group of fields and associated properties.
fieldGroup - Consists of a group of fields and associated properties.public static Section fromFieldGroup(Consumer<FieldGroup.Builder> fieldGroup)
fieldGroup() initialized to the given value.
Consists of a group of fields and associated properties.
fieldGroup - Consists of a group of fields and associated properties.public Section.Type type()
Section.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be Section.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.