@Generated(value="software.amazon.awssdk:codegen") public final class LayoutContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LayoutContent.Builder,LayoutContent>
Object to store union of different versions of layout content.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LayoutContent.Builder |
static class |
LayoutContent.Type |
| Modifier and Type | Method and Description |
|---|---|
BasicLayout |
basic()
Content specific to
BasicLayout type. |
static LayoutContent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static LayoutContent |
fromBasic(BasicLayout basic)
Create an instance of this class with
basic() initialized to the given value. |
static LayoutContent |
fromBasic(Consumer<BasicLayout.Builder> basic)
Create an instance of this class with
basic() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LayoutContent.Builder> |
serializableBuilderClass() |
LayoutContent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
LayoutContent.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BasicLayout basic()
Content specific to BasicLayout type. It configures fields in the top panel and More Info tab of
Cases user interface.
BasicLayout type. It configures fields in the top panel and More Info
tab of Cases user interface.public LayoutContent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LayoutContent.Builder,LayoutContent>public static LayoutContent.Builder builder()
public static Class<? extends LayoutContent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static LayoutContent fromBasic(BasicLayout basic)
basic() initialized to the given value.
Content specific to BasicLayout type. It configures fields in the top panel and More Info tab of
Cases user interface.
basic - Content specific to BasicLayout type. It configures fields in the top panel and More Info tab
of Cases user interface.public static LayoutContent fromBasic(Consumer<BasicLayout.Builder> basic)
basic() initialized to the given value.
Content specific to BasicLayout type. It configures fields in the top panel and More Info tab of
Cases user interface.
basic - Content specific to BasicLayout type. It configures fields in the top panel and More Info tab
of Cases user interface.public LayoutContent.Type type()
LayoutContent.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 LayoutContent.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.