@Generated(value="software.amazon.awssdk:codegen") public final class InAppMessageBodyConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageBodyConfig.Builder,InAppMessageBodyConfig>
Text config for Message Body.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InAppMessageBodyConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
Alignment |
alignment()
The alignment of the text.
|
String |
alignmentAsString()
The alignment of the text.
|
String |
body()
Message Body.
|
static InAppMessageBodyConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InAppMessageBodyConfig.Builder> |
serializableBuilderClass() |
String |
textColor()
The text color.
|
InAppMessageBodyConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Alignment alignment()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
If the service returns an enum value that is not available in the current SDK version, alignment will
return Alignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alignmentAsString().
Alignmentpublic final String alignmentAsString()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
If the service returns an enum value that is not available in the current SDK version, alignment will
return Alignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
alignmentAsString().
Alignmentpublic final String body()
Message Body.
public final String textColor()
The text color.
public InAppMessageBodyConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InAppMessageBodyConfig.Builder,InAppMessageBodyConfig>public static InAppMessageBodyConfig.Builder builder()
public static Class<? extends InAppMessageBodyConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.