All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shiver.me.timbers.aws.pinpoint.CampaignCampaignSmsMessage Maven / Gradle / Ivy


package shiver.me.timbers.aws.pinpoint;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;


/**
 * CampaignCampaignSmsMessage
 * 

* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html * */ @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonPropertyOrder({ "SenderId", "Body", "MessageType" }) public class CampaignCampaignSmsMessage implements Property { /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid * */ @JsonProperty("SenderId") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid") private CharSequence senderId; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body * */ @JsonProperty("Body") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body") private CharSequence body; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype * */ @JsonProperty("MessageType") @JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype") private CharSequence messageType; /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid * */ @JsonIgnore public CharSequence getSenderId() { return senderId; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-senderid * */ @JsonIgnore public void setSenderId(CharSequence senderId) { this.senderId = senderId; } public CampaignCampaignSmsMessage withSenderId(CharSequence senderId) { this.senderId = senderId; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body * */ @JsonIgnore public CharSequence getBody() { return body; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-body * */ @JsonIgnore public void setBody(CharSequence body) { this.body = body; } public CampaignCampaignSmsMessage withBody(CharSequence body) { this.body = body; return this; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype * */ @JsonIgnore public CharSequence getMessageType() { return messageType; } /** * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaignsmsmessage.html#cfn-pinpoint-campaign-campaignsmsmessage-messagetype * */ @JsonIgnore public void setMessageType(CharSequence messageType) { this.messageType = messageType; } public CampaignCampaignSmsMessage withMessageType(CharSequence messageType) { this.messageType = messageType; return this; } @Override public String toString() { return new ToStringBuilder(this).append("senderId", senderId).append("body", body).append("messageType", messageType).toString(); } @Override public int hashCode() { return new HashCodeBuilder().append(senderId).append(body).append(messageType).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof CampaignCampaignSmsMessage) == false) { return false; } CampaignCampaignSmsMessage rhs = ((CampaignCampaignSmsMessage) other); return new EqualsBuilder().append(senderId, rhs.senderId).append(body, rhs.body).append(messageType, rhs.messageType).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy