public static interface JobQueueDetail.Builder extends CopyableBuilder<JobQueueDetail.Builder,JobQueueDetail>
Modifier and Type | Method and Description |
---|---|
JobQueueDetail.Builder |
computeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is
preferred.
|
JobQueueDetail.Builder |
computeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is
preferred.
|
JobQueueDetail.Builder |
computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is
preferred.
|
JobQueueDetail.Builder |
jobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
JobQueueDetail.Builder |
jobQueueName(String jobQueueName)
The name of the job queue.
|
JobQueueDetail.Builder |
priority(Integer priority)
The priority of the job queue.
|
JobQueueDetail.Builder |
state(JQState state)
Describes the ability of the queue to accept new jobs.
|
JobQueueDetail.Builder |
state(String state)
Describes the ability of the queue to accept new jobs.
|
JobQueueDetail.Builder |
status(JQStatus status)
The status of the job queue (for example,
CREATING or VALID ). |
JobQueueDetail.Builder |
status(String status)
The status of the job queue (for example,
CREATING or VALID ). |
JobQueueDetail.Builder |
statusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job queue.
|
copy
applyMutation, build
JobQueueDetail.Builder jobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName
- The name of the job queue.JobQueueDetail.Builder jobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
jobQueueArn
- The Amazon Resource Name (ARN) of the job queue.JobQueueDetail.Builder state(String state)
Describes the ability of the queue to accept new jobs.
JobQueueDetail.Builder state(JQState state)
Describes the ability of the queue to accept new jobs.
JobQueueDetail.Builder status(String status)
The status of the job queue (for example, CREATING
or VALID
).
JobQueueDetail.Builder status(JQStatus status)
The status of the job queue (for example, CREATING
or VALID
).
JobQueueDetail.Builder statusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job queue.
statusReason
- A short, human-readable string to provide additional details about the current status of the job
queue.JobQueueDetail.Builder priority(Integer priority)
The priority of the job queue.
priority
- The priority of the job queue.JobQueueDetail.Builder computeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.
computeEnvironmentOrder
- The compute environments that are attached to the job queue and the order in which job placement is
preferred. Compute environments are selected for job placement in ascending order.JobQueueDetail.Builder computeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.
computeEnvironmentOrder
- The compute environments that are attached to the job queue and the order in which job placement is
preferred. Compute environments are selected for job placement in ascending order.JobQueueDetail.Builder computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order.
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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.