@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateJobQueueRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateJobQueueRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ComputeEnvironmentOrder> |
getComputeEnvironmentOrder()
The set of compute environments mapped to a job queue and their order relative to each other.
|
String |
getJobQueueName()
The name of the job queue.
|
Integer |
getPriority()
The priority of the job queue.
|
String |
getState()
The state of the job queue.
|
int |
hashCode() |
void |
setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other.
|
void |
setJobQueueName(String jobQueueName)
The name of the job queue.
|
void |
setPriority(Integer priority)
The priority of the job queue.
|
void |
setState(JQState state)
The state of the job queue.
|
void |
setState(String state)
The state of the job queue.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateJobQueueRequest |
withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other.
|
CreateJobQueueRequest |
withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other.
|
CreateJobQueueRequest |
withJobQueueName(String jobQueueName)
The name of the job queue.
|
CreateJobQueueRequest |
withPriority(Integer priority)
The priority of the job queue.
|
CreateJobQueueRequest |
withState(JQState state)
The state of the job queue.
|
CreateJobQueueRequest |
withState(String state)
The state of the job queue.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setJobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName - The name of the job queue.public String getJobQueueName()
The name of the job queue.
public CreateJobQueueRequest withJobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName - The name of the job queue.public void setState(String state)
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
state - The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.JQStatepublic String getState()
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
ENABLED, it is able to accept jobs.JQStatepublic CreateJobQueueRequest withState(String state)
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
state - The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.JQStatepublic void setState(JQState state)
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
state - The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.JQStatepublic CreateJobQueueRequest withState(JQState state)
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
state - The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.JQStatepublic void setPriority(Integer priority)
The priority of the job queue. Job queues with a higher priority (or a lower integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in ascending order, for example, a job queue with a priority value of 1 is given
scheduling preference over a job queue with a priority value of 10.
priority - The priority of the job queue. Job queues with a higher priority (or a lower integer value for the
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in ascending order, for example, a job queue with a priority value of
1 is given scheduling preference over a job queue with a priority value of 10.public Integer getPriority()
The priority of the job queue. Job queues with a higher priority (or a lower integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in ascending order, for example, a job queue with a priority value of 1 is given
scheduling preference over a job queue with a priority value of 10.
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in ascending order, for example, a job queue with a priority value of
1 is given scheduling preference over a job queue with a priority value of 10.public CreateJobQueueRequest withPriority(Integer priority)
The priority of the job queue. Job queues with a higher priority (or a lower integer value for the
priority parameter) are evaluated first when associated with same compute environment. Priority is
determined in ascending order, for example, a job queue with a priority value of 1 is given
scheduling preference over a job queue with a priority value of 10.
priority - The priority of the job queue. Job queues with a higher priority (or a lower integer value for the
priority parameter) are evaluated first when associated with same compute environment.
Priority is determined in ascending order, for example, a job queue with a priority value of
1 is given scheduling preference over a job queue with a priority value of 10.public List<ComputeEnvironmentOrder> getComputeEnvironmentOrder()
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler
uses this parameter to determine which compute environment should execute a given job. Compute environments must
be in the VALID state before you can associate them with a job queue. You can associate up to 3
compute environments with a job queue.
VALID state before you can associate them with a job queue. You
can associate up to 3 compute environments with a job queue.public void setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler
uses this parameter to determine which compute environment should execute a given job. Compute environments must
be in the VALID state before you can associate them with a job queue. You can associate up to 3
compute environments with a job queue.
computeEnvironmentOrder - The set of compute environments mapped to a job queue and their order relative to each other. The job
scheduler uses this parameter to determine which compute environment should execute a given job. Compute
environments must be in the VALID state before you can associate them with a job queue. You
can associate up to 3 compute environments with a job queue.public CreateJobQueueRequest withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler
uses this parameter to determine which compute environment should execute a given job. Compute environments must
be in the VALID state before you can associate them with a job queue. You can associate up to 3
compute environments with a job queue.
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 - The set of compute environments mapped to a job queue and their order relative to each other. The job
scheduler uses this parameter to determine which compute environment should execute a given job. Compute
environments must be in the VALID state before you can associate them with a job queue. You
can associate up to 3 compute environments with a job queue.public CreateJobQueueRequest withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler
uses this parameter to determine which compute environment should execute a given job. Compute environments must
be in the VALID state before you can associate them with a job queue. You can associate up to 3
compute environments with a job queue.
computeEnvironmentOrder - The set of compute environments mapped to a job queue and their order relative to each other. The job
scheduler uses this parameter to determine which compute environment should execute a given job. Compute
environments must be in the VALID state before you can associate them with a job queue. You
can associate up to 3 compute environments with a job queue.public String toString()
toString in class ObjectObject.toString()public CreateJobQueueRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.