public static interface CreateJobQueueRequest.Builder extends BatchRequest.Builder, CopyableBuilder<CreateJobQueueRequest.Builder,CreateJobQueueRequest>
| Modifier and Type | Method and 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 |
computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateJobQueueRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateJobQueueRequest.Builder |
state(JQState state)
The state of the job queue.
|
CreateJobQueueRequest.Builder |
state(String state)
The state of the job queue.
|
buildrequestOverrideConfigcopyapply, buildCreateJobQueueRequest.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.
CreateJobQueueRequest.Builder state(JQState state)
The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs.
CreateJobQueueRequest.Builder priority(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.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.
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(Consumer<ComputeEnvironmentOrder.Builder>... 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.
List.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #computeEnvironmentOrder(List) .computeEnvironmentOrder - a consumer that will call methods on List.Builder #computeEnvironmentOrder(List) CreateJobQueueRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateJobQueueRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.