@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InAppMessageContent extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for the message content.
Constructor and Description |
---|
InAppMessageContent() |
Modifier and Type | Method and Description |
---|---|
InAppMessageContent |
clone() |
boolean |
equals(Object obj) |
String |
getBackgroundColor()
The background color for the message.
|
InAppMessageBodyConfig |
getBodyConfig()
The configuration for the message body.
|
InAppMessageHeaderConfig |
getHeaderConfig()
The configuration for the message header.
|
String |
getImageUrl()
The image url for the background of message.
|
InAppMessageButton |
getPrimaryBtn()
The first button inside the message.
|
InAppMessageButton |
getSecondaryBtn()
The second button inside message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBackgroundColor(String backgroundColor)
The background color for the message.
|
void |
setBodyConfig(InAppMessageBodyConfig bodyConfig)
The configuration for the message body.
|
void |
setHeaderConfig(InAppMessageHeaderConfig headerConfig)
The configuration for the message header.
|
void |
setImageUrl(String imageUrl)
The image url for the background of message.
|
void |
setPrimaryBtn(InAppMessageButton primaryBtn)
The first button inside the message.
|
void |
setSecondaryBtn(InAppMessageButton secondaryBtn)
The second button inside message.
|
String |
toString()
Returns a string representation of this object.
|
InAppMessageContent |
withBackgroundColor(String backgroundColor)
The background color for the message.
|
InAppMessageContent |
withBodyConfig(InAppMessageBodyConfig bodyConfig)
The configuration for the message body.
|
InAppMessageContent |
withHeaderConfig(InAppMessageHeaderConfig headerConfig)
The configuration for the message header.
|
InAppMessageContent |
withImageUrl(String imageUrl)
The image url for the background of message.
|
InAppMessageContent |
withPrimaryBtn(InAppMessageButton primaryBtn)
The first button inside the message.
|
InAppMessageContent |
withSecondaryBtn(InAppMessageButton secondaryBtn)
The second button inside message.
|
public void setBackgroundColor(String backgroundColor)
The background color for the message.
backgroundColor
- The background color for the message.public String getBackgroundColor()
The background color for the message.
public InAppMessageContent withBackgroundColor(String backgroundColor)
The background color for the message.
backgroundColor
- The background color for the message.public void setBodyConfig(InAppMessageBodyConfig bodyConfig)
The configuration for the message body.
bodyConfig
- The configuration for the message body.public InAppMessageBodyConfig getBodyConfig()
The configuration for the message body.
public InAppMessageContent withBodyConfig(InAppMessageBodyConfig bodyConfig)
The configuration for the message body.
bodyConfig
- The configuration for the message body.public void setHeaderConfig(InAppMessageHeaderConfig headerConfig)
The configuration for the message header.
headerConfig
- The configuration for the message header.public InAppMessageHeaderConfig getHeaderConfig()
The configuration for the message header.
public InAppMessageContent withHeaderConfig(InAppMessageHeaderConfig headerConfig)
The configuration for the message header.
headerConfig
- The configuration for the message header.public void setImageUrl(String imageUrl)
The image url for the background of message.
imageUrl
- The image url for the background of message.public String getImageUrl()
The image url for the background of message.
public InAppMessageContent withImageUrl(String imageUrl)
The image url for the background of message.
imageUrl
- The image url for the background of message.public void setPrimaryBtn(InAppMessageButton primaryBtn)
The first button inside the message.
primaryBtn
- The first button inside the message.public InAppMessageButton getPrimaryBtn()
The first button inside the message.
public InAppMessageContent withPrimaryBtn(InAppMessageButton primaryBtn)
The first button inside the message.
primaryBtn
- The first button inside the message.public void setSecondaryBtn(InAppMessageButton secondaryBtn)
The second button inside message.
secondaryBtn
- The second button inside message.public InAppMessageButton getSecondaryBtn()
The second button inside message.
public InAppMessageContent withSecondaryBtn(InAppMessageButton secondaryBtn)
The second button inside message.
secondaryBtn
- The second button inside message.public String toString()
toString
in class Object
Object.toString()
public InAppMessageContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.