@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()
Details about the 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)
Details about the 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; useful for testing and debugging.
|
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)
Details about the 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
- Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to
on-demand queues.public ReservationPlanSettings getReservationPlanSettings()
public UpdateQueueRequest withReservationPlanSettings(ReservationPlanSettings reservationPlanSettings)
reservationPlanSettings
- Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to
on-demand queues.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.