@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendMessageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendMessageRequest() |
Modifier and Type | Method and Description |
---|---|
SendMessageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getConnectionToken()
The authentication token associated with the connection.
|
String |
getContent()
The content of the message.
|
String |
getContentType()
The type of the content.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setConnectionToken(String connectionToken)
The authentication token associated with the connection.
|
void |
setContent(String content)
The content of the message.
|
void |
setContentType(String contentType)
The type of the content.
|
String |
toString()
Returns a string representation of this object.
|
SendMessageRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
SendMessageRequest |
withConnectionToken(String connectionToken)
The authentication token associated with the connection.
|
SendMessageRequest |
withContent(String content)
The content of the message.
|
SendMessageRequest |
withContentType(String contentType)
The type of the content.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setContentType(String contentType)
The type of the content. Supported types are text/plain.
contentType
- The type of the content. Supported types are text/plain.public String getContentType()
The type of the content. Supported types are text/plain.
public SendMessageRequest withContentType(String contentType)
The type of the content. Supported types are text/plain.
contentType
- The type of the content. Supported types are text/plain.public void setContent(String content)
The content of the message.
content
- The content of the message.public String getContent()
The content of the message.
public SendMessageRequest withContent(String content)
The content of the message.
content
- The content of the message.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public SendMessageRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setConnectionToken(String connectionToken)
The authentication token associated with the connection.
connectionToken
- The authentication token associated with the connection.public String getConnectionToken()
The authentication token associated with the connection.
public SendMessageRequest withConnectionToken(String connectionToken)
The authentication token associated with the connection.
connectionToken
- The authentication token associated with the connection.public String toString()
toString
in class Object
Object.toString()
public SendMessageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.