public class UpdateQueueStatusRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Updates the status of the queue.
| Constructor and Description |
|---|
UpdateQueueStatusRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getQueueId()
The identifier for the queue.
|
java.lang.String |
getStatus()
The status of the queue.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setQueueId(java.lang.String queueId)
The identifier for the queue.
|
void |
setStatus(QueueStatus status)
The status of the queue.
|
void |
setStatus(java.lang.String status)
The status of the queue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateQueueStatusRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateQueueStatusRequest |
withQueueId(java.lang.String queueId)
The identifier for the queue.
|
UpdateQueueStatusRequest |
withStatus(QueueStatus status)
The status of the queue.
|
UpdateQueueStatusRequest |
withStatus(java.lang.String status)
The status of the queue.
|
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 UpdateQueueStatusRequest 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 getQueueId()
The identifier for the queue.
The identifier for the queue.
public void setQueueId(java.lang.String queueId)
The identifier for the queue.
queueId - The identifier for the queue.
public UpdateQueueStatusRequest withQueueId(java.lang.String queueId)
The identifier for the queue.
Returns a reference to this object so that method calls can be chained together.
queueId - The identifier for the queue.
public java.lang.String getStatus()
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
The status of the queue.
QueueStatuspublic void setStatus(java.lang.String status)
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic UpdateQueueStatusRequest withStatus(java.lang.String status)
The status of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic void setStatus(QueueStatus status)
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic UpdateQueueStatusRequest withStatus(QueueStatus status)
The status of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic 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