public class StopContactStreamingRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
| Constructor and Description |
|---|
StopContactStreamingRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactId()
The identifier of the contact.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getStreamingId()
The identifier of the streaming configuration enabled.
|
int |
hashCode() |
void |
setContactId(java.lang.String contactId)
The identifier of the contact.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setStreamingId(java.lang.String streamingId)
The identifier of the streaming configuration enabled.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopContactStreamingRequest |
withContactId(java.lang.String contactId)
The identifier of the contact.
|
StopContactStreamingRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
StopContactStreamingRequest |
withStreamingId(java.lang.String streamingId)
The identifier of the streaming configuration enabled.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public StopContactStreamingRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getContactId()
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
Constraints:
Length: 1 - 256
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
public void setContactId(java.lang.String contactId)
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
public StopContactStreamingRequest withContactId(java.lang.String contactId)
The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
public java.lang.String getStreamingId()
The identifier of the streaming configuration enabled.
Constraints:
Length: 1 - 100
The identifier of the streaming configuration enabled.
public void setStreamingId(java.lang.String streamingId)
The identifier of the streaming configuration enabled.
Constraints:
Length: 1 - 100
streamingId - The identifier of the streaming configuration enabled.
public StopContactStreamingRequest withStreamingId(java.lang.String streamingId)
The identifier of the streaming configuration enabled.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
streamingId - The identifier of the streaming configuration enabled.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object