@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateJobQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateJobQueueRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateJobQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ComputeEnvironmentOrder> |
getComputeEnvironmentOrder()
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
String |
getJobQueue()
The name or the Amazon Resource Name (ARN) of the job queue.
|
Integer |
getPriority()
The priority of the job queue.
|
String |
getState()
Describes the queue's ability to accept new jobs.
|
int |
hashCode() |
void |
setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
void |
setJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
|
void |
setPriority(Integer priority)
The priority of the job queue.
|
void |
setState(JQState state)
Describes the queue's ability to accept new jobs.
|
void |
setState(String state)
Describes the queue's ability to accept new jobs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateJobQueueRequest |
withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest |
withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest |
withJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
|
UpdateJobQueueRequest |
withPriority(Integer priority)
The priority of the job queue.
|
UpdateJobQueueRequest |
withState(JQState state)
Describes the queue's ability to accept new jobs.
|
UpdateJobQueueRequest |
withState(String state)
Describes the queue's ability to accept new jobs.
|
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, withSdkRequestTimeoutpublic void setJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
jobQueue - The name or the Amazon Resource Name (ARN) of the job queue.public String getJobQueue()
The name or the Amazon Resource Name (ARN) of the job queue.
public UpdateJobQueueRequest withJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
jobQueue - The name or the Amazon Resource Name (ARN) of the job queue.public void setState(String state)
Describes the queue's ability to accept new jobs.
state - Describes the queue's ability to accept new jobs.JQStatepublic String getState()
Describes the queue's ability to accept new jobs.
JQStatepublic UpdateJobQueueRequest withState(String state)
Describes the queue's ability to accept new jobs.
state - Describes the queue's ability to accept new jobs.JQStatepublic void setState(JQState state)
Describes the queue's ability to accept new jobs.
state - Describes the queue's ability to accept new jobs.JQStatepublic UpdateJobQueueRequest withState(JQState state)
Describes the queue's ability to accept new jobs.
state - Describes the queue's ability to accept new jobs.JQStatepublic void setPriority(Integer priority)
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in descending order, for example, a job queue with a priority value of 10 is given
scheduling preference over a job queue with a priority value of 1.
priority - The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in descending order, for example, a job queue with a priority value of
10 is given scheduling preference over a job queue with a priority value of 1.public Integer getPriority()
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in descending order, for example, a job queue with a priority value of 10 is given
scheduling preference over a job queue with a priority value of 1.
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in descending order, for example, a job queue with a priority value of
10 is given scheduling preference over a job queue with a priority value of 1.public UpdateJobQueueRequest withPriority(Integer priority)
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in descending order, for example, a job queue with a priority value of 10 is given
scheduling preference over a job queue with a priority value of 1.
priority - The priority of the job queue. Job queues with a higher priority (or a higher integer value for the
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in descending order, for example, a job queue with a priority value of
10 is given scheduling preference over a job queue with a priority value of 1.public List<ComputeEnvironmentOrder> getComputeEnvironmentOrder()
Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.
public void setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.
computeEnvironmentOrder - Details the set of compute environments mapped to a job queue and their order relative to each other. This
is one of the parameters used by the job scheduler to determine which compute environment should execute a
given job.public UpdateJobQueueRequest withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.
NOTE: This method appends the values to the existing list (if any). Use
setComputeEnvironmentOrder(java.util.Collection) or
withComputeEnvironmentOrder(java.util.Collection) if you want to override the existing values.
computeEnvironmentOrder - Details the set of compute environments mapped to a job queue and their order relative to each other. This
is one of the parameters used by the job scheduler to determine which compute environment should execute a
given job.public UpdateJobQueueRequest withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.
computeEnvironmentOrder - Details the set of compute environments mapped to a job queue and their order relative to each other. This
is one of the parameters used by the job scheduler to determine which compute environment should execute a
given job.public String toString()
toString in class ObjectObject.toString()public UpdateJobQueueRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.