@Generated(value="software.amazon.awssdk:codegen") public final class InAppMessageContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageContent.Builder,InAppMessageContent>
The configuration for the message content.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InAppMessageContent.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
backgroundColor()
The background color for the message.
|
InAppMessageBodyConfig |
bodyConfig()
The configuration for the message body.
|
static InAppMessageContent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InAppMessageHeaderConfig |
headerConfig()
The configuration for the message header.
|
String |
imageUrl()
The image url for the background of message.
|
InAppMessageButton |
primaryBtn()
The first button inside the message.
|
List<SdkField<?>> |
sdkFields() |
InAppMessageButton |
secondaryBtn()
The second button inside message.
|
static Class<? extends InAppMessageContent.Builder> |
serializableBuilderClass() |
InAppMessageContent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String backgroundColor()
The background color for the message.
public final InAppMessageBodyConfig bodyConfig()
The configuration for the message body.
public final InAppMessageHeaderConfig headerConfig()
The configuration for the message header.
public final String imageUrl()
The image url for the background of message.
public final InAppMessageButton primaryBtn()
The first button inside the message.
public final InAppMessageButton secondaryBtn()
The second button inside message.
public InAppMessageContent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InAppMessageContent.Builder,InAppMessageContent>public static InAppMessageContent.Builder builder()
public static Class<? extends InAppMessageContent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.