@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateQueueRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The new description for the queue, if you are changing it.
|
String |
getName()
The name of the queue that you are modifying.
|
ReservationPlanSettings |
getReservationPlanSettings()
The new details of your pricing plan for your reserved queue.
|
String |
getStatus()
Pause or activate a queue by changing its status between ACTIVE and PAUSED.
|
int |
hashCode() |
void |
setDescription(String description)
The new description for the queue, if you are changing it.
|
void |
setName(String name)
The name of the queue that you are modifying.
|
void |
setReservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
The new details of your pricing plan for your reserved queue.
|
void |
setStatus(String status)
Pause or activate a queue by changing its status between ACTIVE and PAUSED.
|
String |
toString()
Returns a string representation of this object.
|
UpdateQueueRequest |
withDescription(String description)
The new description for the queue, if you are changing it.
|
UpdateQueueRequest |
withName(String name)
The name of the queue that you are modifying.
|
UpdateQueueRequest |
withReservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
The new details of your pricing plan for your reserved queue.
|
UpdateQueueRequest |
withStatus(QueueStatus status)
Pause or activate a queue by changing its status between ACTIVE and PAUSED.
|
UpdateQueueRequest |
withStatus(String status)
Pause or activate a queue by changing its status between ACTIVE and PAUSED.
|
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 setDescription(String description)
description
- The new description for the queue, if you are changing it.public String getDescription()
public UpdateQueueRequest withDescription(String description)
description
- The new description for the queue, if you are changing it.public void setName(String name)
name
- The name of the queue that you are modifying.public String getName()
public UpdateQueueRequest withName(String name)
name
- The name of the queue that you are modifying.public void setReservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
reservationPlanSettings
- The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to
replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by
increasing the number of RTS, you extend the term of your commitment to 12 months from when you add
capacity. After you make these commitments, you can't cancel them.public ReservationPlanSettings getReservationPlanSettings()
public UpdateQueueRequest withReservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
reservationPlanSettings
- The new details of your pricing plan for your reserved queue. When you set up a new pricing plan to
replace an expired one, you enter into another 12-month commitment. When you add capacity to your queue by
increasing the number of RTS, you extend the term of your commitment to 12 months from when you add
capacity. After you make these commitments, you can't cancel them.public void setStatus(String status)
status
- Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in
that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish
or result in an error.QueueStatus
public String getStatus()
QueueStatus
public UpdateQueueRequest withStatus(String status)
status
- Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in
that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish
or result in an error.QueueStatus
public UpdateQueueRequest withStatus(QueueStatus status)
status
- Pause or activate a queue by changing its status between ACTIVE and PAUSED. If you pause a queue, jobs in
that queue won't begin. Jobs that are running when you pause the queue continue to run until they finish
or result in an error.QueueStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateQueueRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()