@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InAppMessagesResponse extends Object implements Serializable, Cloneable, StructuredPojo
Get in-app messages response object.
Constructor and Description |
---|
InAppMessagesResponse() |
Modifier and Type | Method and Description |
---|---|
InAppMessagesResponse |
clone() |
boolean |
equals(Object obj) |
List<InAppMessageCampaign> |
getInAppMessageCampaigns()
List of targeted in-app message campaigns.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInAppMessageCampaigns(Collection<InAppMessageCampaign> inAppMessageCampaigns)
List of targeted in-app message campaigns.
|
String |
toString()
Returns a string representation of this object.
|
InAppMessagesResponse |
withInAppMessageCampaigns(Collection<InAppMessageCampaign> inAppMessageCampaigns)
List of targeted in-app message campaigns.
|
InAppMessagesResponse |
withInAppMessageCampaigns(InAppMessageCampaign... inAppMessageCampaigns)
List of targeted in-app message campaigns.
|
public List<InAppMessageCampaign> getInAppMessageCampaigns()
List of targeted in-app message campaigns.
public void setInAppMessageCampaigns(Collection<InAppMessageCampaign> inAppMessageCampaigns)
List of targeted in-app message campaigns.
inAppMessageCampaigns
- List of targeted in-app message campaigns.public InAppMessagesResponse withInAppMessageCampaigns(InAppMessageCampaign... inAppMessageCampaigns)
List of targeted in-app message campaigns.
NOTE: This method appends the values to the existing list (if any). Use
setInAppMessageCampaigns(java.util.Collection)
or
withInAppMessageCampaigns(java.util.Collection)
if you want to override the existing values.
inAppMessageCampaigns
- List of targeted in-app message campaigns.public InAppMessagesResponse withInAppMessageCampaigns(Collection<InAppMessageCampaign> inAppMessageCampaigns)
List of targeted in-app message campaigns.
inAppMessageCampaigns
- List of targeted in-app message campaigns.public String toString()
toString
in class Object
Object.toString()
public InAppMessagesResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.