CopyableBuilder<CreateJobQueueRequest.Builder,CreateJobQueueRequest>
, SdkBuilder<CreateJobQueueRequest.Builder,CreateJobQueueRequest>
public static interface CreateJobQueueRequest.Builder extends CopyableBuilder<CreateJobQueueRequest.Builder,CreateJobQueueRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateJobQueueRequest.Builder |
computeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder) |
The set of compute environments mapped to a job queue and their order relative to each other.
|
CreateJobQueueRequest.Builder |
computeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder) |
The set of compute environments mapped to a job queue and their order relative to each other.
|
CreateJobQueueRequest.Builder |
jobQueueName(String jobQueueName) |
The name of the job queue.
|
CreateJobQueueRequest.Builder |
priority(Integer priority) |
The priority of the job queue.
|
CreateJobQueueRequest.Builder |
state(String state) |
The state of the job queue.
|
CreateJobQueueRequest.Builder |
state(JQState state) |
The state of the job queue.
|
copy
apply, build
CreateJobQueueRequest.Builder jobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName
- The name of the job queue.CreateJobQueueRequest.Builder state(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.JQState
CreateJobQueueRequest.Builder state(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.JQState
CreateJobQueueRequest.Builder priority(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
.CreateJobQueueRequest.Builder computeEnvironmentOrder(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.CreateJobQueueRequest.Builder computeEnvironmentOrder(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.