Class InAppMessageContent
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.InAppMessageContent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InAppMessageContent.Builder,InAppMessageContent>
@Generated("software.amazon.awssdk:codegen") public final class InAppMessageContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageContent.Builder,InAppMessageContent>
The configuration for the message content.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInAppMessageContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackgroundColor()The background color for the message.InAppMessageBodyConfigbodyConfig()The configuration for the message body.static InAppMessageContent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InAppMessageHeaderConfigheaderConfig()The configuration for the message header.StringimageUrl()The image url for the background of message.InAppMessageButtonprimaryBtn()The first button inside the message.List<SdkField<?>>sdkFields()InAppMessageButtonsecondaryBtn()The second button inside message.static Class<? extends InAppMessageContent.Builder>serializableBuilderClass()InAppMessageContent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
backgroundColor
public final String backgroundColor()
The background color for the message.
- Returns:
- The background color for the message.
-
bodyConfig
public final InAppMessageBodyConfig bodyConfig()
The configuration for the message body.
- Returns:
- The configuration for the message body.
-
headerConfig
public final InAppMessageHeaderConfig headerConfig()
The configuration for the message header.
- Returns:
- The configuration for the message header.
-
imageUrl
public final String imageUrl()
The image url for the background of message.
- Returns:
- The image url for the background of message.
-
primaryBtn
public final InAppMessageButton primaryBtn()
The first button inside the message.
- Returns:
- The first button inside the message.
-
secondaryBtn
public final InAppMessageButton secondaryBtn()
The second button inside message.
- Returns:
- The second button inside message.
-
toBuilder
public InAppMessageContent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InAppMessageContent.Builder,InAppMessageContent>
-
builder
public static InAppMessageContent.Builder builder()
-
serializableBuilderClass
public static Class<? extends InAppMessageContent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-