@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SenderIdInformation extends Object implements Serializable, Cloneable, StructuredPojo
The information for all SenderIds in an Amazon Web Services account.
Constructor and Description |
---|
SenderIdInformation() |
Modifier and Type | Method and Description |
---|---|
SenderIdInformation |
clone() |
boolean |
equals(Object obj) |
String |
getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
List<String> |
getMessageTypes()
The type of message.
|
String |
getMonthlyLeasingPrice()
The monthly leasing price, in US dollars.
|
String |
getSenderId()
The alphanumeric sender ID in a specific country that you'd like to describe.
|
String |
getSenderIdArn()
The Amazon Resource Name (ARN) associated with the SenderId.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
void |
setMessageTypes(Collection<String> messageTypes)
The type of message.
|
void |
setMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price, in US dollars.
|
void |
setSenderId(String senderId)
The alphanumeric sender ID in a specific country that you'd like to describe.
|
void |
setSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
|
String |
toString()
Returns a string representation of this object.
|
SenderIdInformation |
withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
SenderIdInformation |
withMessageTypes(Collection<String> messageTypes)
The type of message.
|
SenderIdInformation |
withMessageTypes(MessageType... messageTypes)
The type of message.
|
SenderIdInformation |
withMessageTypes(String... messageTypes)
The type of message.
|
SenderIdInformation |
withMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price, in US dollars.
|
SenderIdInformation |
withSenderId(String senderId)
The alphanumeric sender ID in a specific country that you'd like to describe.
|
SenderIdInformation |
withSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
|
public void setSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
senderIdArn
- The Amazon Resource Name (ARN) associated with the SenderId.public String getSenderIdArn()
The Amazon Resource Name (ARN) associated with the SenderId.
public SenderIdInformation withSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
senderIdArn
- The Amazon Resource Name (ARN) associated with the SenderId.public void setSenderId(String senderId)
The alphanumeric sender ID in a specific country that you'd like to describe.
senderId
- The alphanumeric sender ID in a specific country that you'd like to describe.public String getSenderId()
The alphanumeric sender ID in a specific country that you'd like to describe.
public SenderIdInformation withSenderId(String senderId)
The alphanumeric sender ID in a specific country that you'd like to describe.
senderId
- The alphanumeric sender ID in a specific country that you'd like to describe.public void setIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public String getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
public SenderIdInformation withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.public List<String> getMessageTypes()
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
MessageType
public void setMessageTypes(Collection<String> messageTypes)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
messageTypes
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public SenderIdInformation withMessageTypes(String... messageTypes)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
NOTE: This method appends the values to the existing list (if any). Use
setMessageTypes(java.util.Collection)
or withMessageTypes(java.util.Collection)
if you want to
override the existing values.
messageTypes
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public SenderIdInformation withMessageTypes(Collection<String> messageTypes)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
messageTypes
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public SenderIdInformation withMessageTypes(MessageType... messageTypes)
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
messageTypes
- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and
PROMOTIONAL for messages that aren't critical or time-sensitive.MessageType
public void setMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price, in US dollars.
monthlyLeasingPrice
- The monthly leasing price, in US dollars.public String getMonthlyLeasingPrice()
The monthly leasing price, in US dollars.
public SenderIdInformation withMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price, in US dollars.
monthlyLeasingPrice
- The monthly leasing price, in US dollars.public String toString()
toString
in class Object
Object.toString()
public SenderIdInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.