public static interface UpdateJobQueueRequest.Builder extends BatchRequest.Builder, SdkPojo, 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) |
UpdateJobQueueRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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
equalsBySdkFields, sdkFields
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. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the queue, but
jobs already in the queue can finish.
state
- Describes the queue's ability to accept new jobs. If the job queue state is ENABLED
, it
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to
the queue, but jobs already in the queue can finish.JQState
,
JQState
UpdateJobQueueRequest.Builder state(JQState state)
Describes the queue's ability to accept new jobs. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the queue, but
jobs already in the queue can finish.
state
- Describes the queue's ability to accept new jobs. If the job queue state is ENABLED
, it
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to
the queue, but jobs already in the queue can finish.JQState
,
JQState
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 the 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 the 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)
overrideConfiguration
in interface AwsRequest.Builder
UpdateJobQueueRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.