@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendEventRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendEventRequest() |
Modifier and Type | Method and Description |
---|---|
SendEventRequest |
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 participant's connection.
|
String |
getContent()
The content of the event to be sent (for example, message text).
|
String |
getContentType()
The content type of the request.
|
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 participant's connection.
|
void |
setContent(String content)
The content of the event to be sent (for example, message text).
|
void |
setContentType(String contentType)
The content type of the request.
|
String |
toString()
Returns a string representation of this object.
|
SendEventRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
SendEventRequest |
withConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
|
SendEventRequest |
withContent(String content)
The content of the event to be sent (for example, message text).
|
SendEventRequest |
withContentType(String contentType)
The content type of the request.
|
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 content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
contentType
- The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
public String getContentType()
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
public SendEventRequest withContentType(String contentType)
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
contentType
- The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
public void setContent(String content)
The content of the event to be sent (for example, message text). This is not yet supported.
content
- The content of the event to be sent (for example, message text). This is not yet supported.public String getContent()
The content of the event to be sent (for example, message text). This is not yet supported.
public SendEventRequest withContent(String content)
The content of the event to be sent (for example, message text). This is not yet supported.
content
- The content of the event to be sent (for example, message text). This is not yet supported.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 SendEventRequest 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 participant's connection.
connectionToken
- The authentication token associated with the participant's connection.public String getConnectionToken()
The authentication token associated with the participant's connection.
public SendEventRequest withConnectionToken(String connectionToken)
The authentication token associated with the participant's connection.
connectionToken
- The authentication token associated with the participant's connection.public String toString()
toString
in class Object
Object.toString()
public SendEventRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.