public static interface UpdateJobQueueRequest.Builder extends BatchRequest.Builder, CopyableBuilder<UpdateJobQueueRequest.Builder,UpdateJobQueueRequest>
Modifier and Type | Method and Description |
---|---|
UpdateJobQueueRequest.Builder |
computeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest.Builder |
computeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest.Builder |
computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest.Builder |
jobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
|
UpdateJobQueueRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateJobQueueRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateJobQueueRequest.Builder |
priority(Integer priority)
The priority of the job queue.
|
UpdateJobQueueRequest.Builder |
state(JQState state)
Describes the queue's ability to accept new jobs.
|
UpdateJobQueueRequest.Builder |
state(String state)
Describes the queue's ability to accept new jobs.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateJobQueueRequest.Builder jobQueue(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.UpdateJobQueueRequest.Builder state(String state)
Describes the queue's ability to accept new jobs.
UpdateJobQueueRequest.Builder state(JQState state)
Describes the queue's ability to accept new jobs.
UpdateJobQueueRequest.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
.UpdateJobQueueRequest.Builder computeEnvironmentOrder(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.UpdateJobQueueRequest.Builder computeEnvironmentOrder(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.UpdateJobQueueRequest.Builder computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... 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.
This is a convenience that creates an instance of theList.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)
UpdateJobQueueRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateJobQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.