@Generated(value="software.amazon.awssdk:codegen") public final class InAppMessageHeaderConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageHeaderConfig.Builder,InAppMessageHeaderConfig>
Text config for Message Header.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InAppMessageHeaderConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
Alignment |
alignment()
The alignment of the text.
|
String |
alignmentAsString()
The alignment of the text.
|
static InAppMessageHeaderConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
header()
Message Header.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InAppMessageHeaderConfig.Builder> |
serializableBuilderClass() |
String |
textColor()
The text color.
|
InAppMessageHeaderConfig.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 header()
Message Header.
public final String textColor()
The text color.
public InAppMessageHeaderConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InAppMessageHeaderConfig.Builder,InAppMessageHeaderConfig>public static InAppMessageHeaderConfig.Builder builder()
public static Class<? extends InAppMessageHeaderConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.