@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SenderIdAndCountry extends Object implements Serializable, Cloneable, StructuredPojo
The alphanumeric sender ID in a specific country that you want to describe. For more information on sender IDs see Requesting sender IDs for SMS messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide.
Constructor and Description |
---|
SenderIdAndCountry() |
Modifier and Type | Method and Description |
---|---|
SenderIdAndCountry |
clone() |
boolean |
equals(Object obj) |
String |
getIsoCountryCode()
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
String |
getSenderId()
The unique identifier of the sender.
|
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 |
setSenderId(String senderId)
The unique identifier of the sender.
|
String |
toString()
Returns a string representation of this object.
|
SenderIdAndCountry |
withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
SenderIdAndCountry |
withSenderId(String senderId)
The unique identifier of the sender.
|
public void setSenderId(String senderId)
The unique identifier of the sender.
senderId
- The unique identifier of the sender.public String getSenderId()
The unique identifier of the sender.
public SenderIdAndCountry withSenderId(String senderId)
The unique identifier of the sender.
senderId
- The unique identifier of the sender.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 SenderIdAndCountry 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 String toString()
toString
in class Object
Object.toString()
public SenderIdAndCountry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.