@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseSenderIdResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ReleaseSenderIdResult() |
Modifier and Type | Method and Description |
---|---|
ReleaseSenderIdResult |
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 price, in US dollars, to lease the sender ID.
|
Boolean |
getRegistered()
True if the sender ID is registered.
|
String |
getRegistrationId()
The unique identifier for the registration.
|
String |
getSenderId()
The sender ID that was released.
|
String |
getSenderIdArn()
The Amazon Resource Name (ARN) associated with the SenderId.
|
int |
hashCode() |
Boolean |
isRegistered()
True if the sender ID is registered.
|
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 price, in US dollars, to lease the sender ID.
|
void |
setRegistered(Boolean registered)
True if the sender ID is registered.
|
void |
setRegistrationId(String registrationId)
The unique identifier for the registration.
|
void |
setSenderId(String senderId)
The sender ID that was released.
|
void |
setSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
|
String |
toString()
Returns a string representation of this object.
|
ReleaseSenderIdResult |
withIsoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
ReleaseSenderIdResult |
withMessageTypes(Collection<String> messageTypes)
The type of message.
|
ReleaseSenderIdResult |
withMessageTypes(MessageType... messageTypes)
The type of message.
|
ReleaseSenderIdResult |
withMessageTypes(String... messageTypes)
The type of message.
|
ReleaseSenderIdResult |
withMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly price, in US dollars, to lease the sender ID.
|
ReleaseSenderIdResult |
withRegistered(Boolean registered)
True if the sender ID is registered.
|
ReleaseSenderIdResult |
withRegistrationId(String registrationId)
The unique identifier for the registration.
|
ReleaseSenderIdResult |
withSenderId(String senderId)
The sender ID that was released.
|
ReleaseSenderIdResult |
withSenderIdArn(String senderIdArn)
The Amazon Resource Name (ARN) associated with the SenderId.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ReleaseSenderIdResult 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 sender ID that was released.
senderId
- The sender ID that was released.public String getSenderId()
The sender ID that was released.
public ReleaseSenderIdResult withSenderId(String senderId)
The sender ID that was released.
senderId
- The sender ID that was released.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 ReleaseSenderIdResult 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 ReleaseSenderIdResult 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 ReleaseSenderIdResult 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 ReleaseSenderIdResult 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 price, in US dollars, to lease the sender ID.
monthlyLeasingPrice
- The monthly price, in US dollars, to lease the sender ID.public String getMonthlyLeasingPrice()
The monthly price, in US dollars, to lease the sender ID.
public ReleaseSenderIdResult withMonthlyLeasingPrice(String monthlyLeasingPrice)
The monthly price, in US dollars, to lease the sender ID.
monthlyLeasingPrice
- The monthly price, in US dollars, to lease the sender ID.public void setRegistered(Boolean registered)
True if the sender ID is registered.
registered
- True if the sender ID is registered.public Boolean getRegistered()
True if the sender ID is registered.
public ReleaseSenderIdResult withRegistered(Boolean registered)
True if the sender ID is registered.
registered
- True if the sender ID is registered.public Boolean isRegistered()
True if the sender ID is registered.
public void setRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId
- The unique identifier for the registration.public String getRegistrationId()
The unique identifier for the registration.
public ReleaseSenderIdResult withRegistrationId(String registrationId)
The unique identifier for the registration.
registrationId
- The unique identifier for the registration.public String toString()
toString
in class Object
Object.toString()
public ReleaseSenderIdResult clone()