public class SendEventRequest extends AmazonWebServiceRequest implements java.io.Serializable
Sends an event. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Constructor and Description |
---|
SendEventRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getConnectionToken()
The authentication token associated with the participant's connection.
|
java.lang.String |
getContent()
The content of the event to be sent (for example, message text).
|
java.lang.String |
getContentType()
The content type of the request.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
void |
setContent(java.lang.String content)
The content of the event to be sent (for example, message text).
|
void |
setContentType(java.lang.String contentType)
The content type of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendEventRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
SendEventRequest |
withConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
|
SendEventRequest |
withContent(java.lang.String content)
The content of the event to be sent (for example, message text).
|
SendEventRequest |
withContentType(java.lang.String contentType)
The content type of the request.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getContentType()
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
Constraints:
Length: 1 - 100
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
public void setContentType(java.lang.String contentType)
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
Constraints:
Length: 1 - 100
contentType
- The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection. acknowledged
public SendEventRequest withContentType(java.lang.String contentType)
The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection.acknowledged
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
contentType
- The content type of the request. Supported types are:
application/vnd.amazonaws.connect.event.typing
application/vnd.amazonaws.connect.event.connection. acknowledged
public java.lang.String getContent()
The content of the event to be sent (for example, message text). This is not yet supported.
Constraints:
Length: 1 - 1024
The content of the event to be sent (for example, message text). This is not yet supported.
public void setContent(java.lang.String content)
The content of the event to be sent (for example, message text). This is not yet supported.
Constraints:
Length: 1 - 1024
content
- The content of the event to be sent (for example, message text). This is not yet supported.
public SendEventRequest withContent(java.lang.String content)
The content of the event to be sent (for example, message text). This is not yet supported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
content
- The content of the event to be sent (for example, message text). This is not yet supported.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Constraints:
Length: - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Constraints:
Length: - 500
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public SendEventRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public java.lang.String getConnectionToken()
The authentication token associated with the participant's connection.
Constraints:
Length: 1 - 1000
The authentication token associated with the participant's connection.
public void setConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
Constraints:
Length: 1 - 1000
connectionToken
- The authentication token associated with the participant's connection.
public SendEventRequest withConnectionToken(java.lang.String connectionToken)
The authentication token associated with the participant's connection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1000
connectionToken
- The authentication token associated with the participant's connection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.