@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status and settings of the SMS channel for an application.
Constructor and Description |
---|
SMSChannelResponse() |
Modifier and Type | Method and Description |
---|---|
SMSChannelResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that the SMS channel applies to.
|
String |
getCreationDate()
The date and time, in ISO 8601 format, when the SMS channel was enabled.
|
Boolean |
getEnabled()
Specifies whether the SMS channel is enabled for the application.
|
Boolean |
getHasCredential()
(Not used) This property is retained only for backward compatibility.
|
String |
getId()
(Deprecated) An identifier for the SMS channel.
|
Boolean |
getIsArchived()
Specifies whether the SMS channel is archived.
|
String |
getLastModifiedBy()
The user who last modified the SMS channel.
|
String |
getLastModifiedDate()
The date and time, in ISO 8601 format, when the SMS channel was last modified.
|
String |
getPlatform()
The type of messaging or notification platform for the channel.
|
Integer |
getPromotionalMessagesPerSecond()
The maximum number of promotional messages that you can send through the SMS channel each second.
|
String |
getSenderId()
The identity that displays on recipients' devices when they receive messages from the SMS channel.
|
String |
getShortCode()
The registered short code to use when you send messages through the SMS channel.
|
Integer |
getTransactionalMessagesPerSecond()
The maximum number of transactional messages that you can send through the SMS channel each second.
|
Integer |
getVersion()
The current version of the SMS channel.
|
int |
hashCode() |
Boolean |
isArchived()
Specifies whether the SMS channel is archived.
|
Boolean |
isEnabled()
Specifies whether the SMS channel is enabled for the application.
|
Boolean |
isHasCredential()
(Not used) This property is retained only for backward compatibility.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application that the SMS channel applies to.
|
void |
setCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the SMS channel was enabled.
|
void |
setEnabled(Boolean enabled)
Specifies whether the SMS channel is enabled for the application.
|
void |
setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
void |
setId(String id)
(Deprecated) An identifier for the SMS channel.
|
void |
setIsArchived(Boolean isArchived)
Specifies whether the SMS channel is archived.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user who last modified the SMS channel.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the SMS channel was last modified.
|
void |
setPlatform(String platform)
The type of messaging or notification platform for the channel.
|
void |
setPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
The maximum number of promotional messages that you can send through the SMS channel each second.
|
void |
setSenderId(String senderId)
The identity that displays on recipients' devices when they receive messages from the SMS channel.
|
void |
setShortCode(String shortCode)
The registered short code to use when you send messages through the SMS channel.
|
void |
setTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
The maximum number of transactional messages that you can send through the SMS channel each second.
|
void |
setVersion(Integer version)
The current version of the SMS channel.
|
String |
toString()
Returns a string representation of this object.
|
SMSChannelResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the SMS channel applies to.
|
SMSChannelResponse |
withCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the SMS channel was enabled.
|
SMSChannelResponse |
withEnabled(Boolean enabled)
Specifies whether the SMS channel is enabled for the application.
|
SMSChannelResponse |
withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
SMSChannelResponse |
withId(String id)
(Deprecated) An identifier for the SMS channel.
|
SMSChannelResponse |
withIsArchived(Boolean isArchived)
Specifies whether the SMS channel is archived.
|
SMSChannelResponse |
withLastModifiedBy(String lastModifiedBy)
The user who last modified the SMS channel.
|
SMSChannelResponse |
withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the SMS channel was last modified.
|
SMSChannelResponse |
withPlatform(String platform)
The type of messaging or notification platform for the channel.
|
SMSChannelResponse |
withPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
The maximum number of promotional messages that you can send through the SMS channel each second.
|
SMSChannelResponse |
withSenderId(String senderId)
The identity that displays on recipients' devices when they receive messages from the SMS channel.
|
SMSChannelResponse |
withShortCode(String shortCode)
The registered short code to use when you send messages through the SMS channel.
|
SMSChannelResponse |
withTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
The maximum number of transactional messages that you can send through the SMS channel each second.
|
SMSChannelResponse |
withVersion(Integer version)
The current version of the SMS channel.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that the SMS channel applies to.
applicationId
- The unique identifier for the application that the SMS channel applies to.public String getApplicationId()
The unique identifier for the application that the SMS channel applies to.
public SMSChannelResponse withApplicationId(String applicationId)
The unique identifier for the application that the SMS channel applies to.
applicationId
- The unique identifier for the application that the SMS channel applies to.public void setCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the SMS channel was enabled.
creationDate
- The date and time, in ISO 8601 format, when the SMS channel was enabled.public String getCreationDate()
The date and time, in ISO 8601 format, when the SMS channel was enabled.
public SMSChannelResponse withCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the SMS channel was enabled.
creationDate
- The date and time, in ISO 8601 format, when the SMS channel was enabled.public void setEnabled(Boolean enabled)
Specifies whether the SMS channel is enabled for the application.
enabled
- Specifies whether the SMS channel is enabled for the application.public Boolean getEnabled()
Specifies whether the SMS channel is enabled for the application.
public SMSChannelResponse withEnabled(Boolean enabled)
Specifies whether the SMS channel is enabled for the application.
enabled
- Specifies whether the SMS channel is enabled for the application.public Boolean isEnabled()
Specifies whether the SMS channel is enabled for the application.
public void setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean getHasCredential()
(Not used) This property is retained only for backward compatibility.
public SMSChannelResponse withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean isHasCredential()
(Not used) This property is retained only for backward compatibility.
public void setId(String id)
(Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.public String getId()
(Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.
public SMSChannelResponse withId(String id)
(Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the SMS channel. This property is retained only for backward compatibility.public void setIsArchived(Boolean isArchived)
Specifies whether the SMS channel is archived.
isArchived
- Specifies whether the SMS channel is archived.public Boolean getIsArchived()
Specifies whether the SMS channel is archived.
public SMSChannelResponse withIsArchived(Boolean isArchived)
Specifies whether the SMS channel is archived.
isArchived
- Specifies whether the SMS channel is archived.public Boolean isArchived()
Specifies whether the SMS channel is archived.
public void setLastModifiedBy(String lastModifiedBy)
The user who last modified the SMS channel.
lastModifiedBy
- The user who last modified the SMS channel.public String getLastModifiedBy()
The user who last modified the SMS channel.
public SMSChannelResponse withLastModifiedBy(String lastModifiedBy)
The user who last modified the SMS channel.
lastModifiedBy
- The user who last modified the SMS channel.public void setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the SMS channel was last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the SMS channel was last modified.public String getLastModifiedDate()
The date and time, in ISO 8601 format, when the SMS channel was last modified.
public SMSChannelResponse withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the SMS channel was last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the SMS channel was last modified.public void setPlatform(String platform)
The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.
platform
- The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.public String getPlatform()
The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.
public SMSChannelResponse withPlatform(String platform)
The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.
platform
- The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.public void setPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
The maximum number of promotional messages that you can send through the SMS channel each second.
promotionalMessagesPerSecond
- The maximum number of promotional messages that you can send through the SMS channel each second.public Integer getPromotionalMessagesPerSecond()
The maximum number of promotional messages that you can send through the SMS channel each second.
public SMSChannelResponse withPromotionalMessagesPerSecond(Integer promotionalMessagesPerSecond)
The maximum number of promotional messages that you can send through the SMS channel each second.
promotionalMessagesPerSecond
- The maximum number of promotional messages that you can send through the SMS channel each second.public void setSenderId(String senderId)
The identity that displays on recipients' devices when they receive messages from the SMS channel.
senderId
- The identity that displays on recipients' devices when they receive messages from the SMS channel.public String getSenderId()
The identity that displays on recipients' devices when they receive messages from the SMS channel.
public SMSChannelResponse withSenderId(String senderId)
The identity that displays on recipients' devices when they receive messages from the SMS channel.
senderId
- The identity that displays on recipients' devices when they receive messages from the SMS channel.public void setShortCode(String shortCode)
The registered short code to use when you send messages through the SMS channel.
shortCode
- The registered short code to use when you send messages through the SMS channel.public String getShortCode()
The registered short code to use when you send messages through the SMS channel.
public SMSChannelResponse withShortCode(String shortCode)
The registered short code to use when you send messages through the SMS channel.
shortCode
- The registered short code to use when you send messages through the SMS channel.public void setTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
The maximum number of transactional messages that you can send through the SMS channel each second.
transactionalMessagesPerSecond
- The maximum number of transactional messages that you can send through the SMS channel each second.public Integer getTransactionalMessagesPerSecond()
The maximum number of transactional messages that you can send through the SMS channel each second.
public SMSChannelResponse withTransactionalMessagesPerSecond(Integer transactionalMessagesPerSecond)
The maximum number of transactional messages that you can send through the SMS channel each second.
transactionalMessagesPerSecond
- The maximum number of transactional messages that you can send through the SMS channel each second.public void setVersion(Integer version)
The current version of the SMS channel.
version
- The current version of the SMS channel.public Integer getVersion()
The current version of the SMS channel.
public SMSChannelResponse withVersion(Integer version)
The current version of the SMS channel.
version
- The current version of the SMS channel.public String toString()
toString
in class Object
Object.toString()
public SMSChannelResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.