public static interface JobQueueDetail.Builder extends SdkPojo, 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 that job placement is preferred.
|
JobQueueDetail.Builder |
computeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
JobQueueDetail.Builder |
computeEnvironmentOrder(Consumer<ComputeEnvironmentOrder.Builder>... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
JobQueueDetail.Builder |
jobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
JobQueueDetail.Builder |
jobQueueName(String jobQueueName)
The job queue name.
|
JobQueueDetail.Builder |
priority(Integer priority)
The priority of the job queue.
|
JobQueueDetail.Builder |
schedulingPolicyArn(String schedulingPolicyArn)
The Amazon Resource Name (ARN) of the scheduling policy.
|
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 for the current status of the job queue.
|
JobQueueDetail.Builder |
tags(Map<String,String> tags)
The tags that are applied to the job queue.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJobQueueDetail.Builder jobQueueName(String jobQueueName)
The job queue name.
jobQueueName - The job queue name.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. If the job queue state is ENABLED, it can
accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs
already in the queue can finish.
state - Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED,
it can accept jobs. If the job queue state is DISABLED, new jobs can't be added to the
queue, but jobs already in the queue can finish.JQState,
JQStateJobQueueDetail.Builder state(JQState state)
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED, it can
accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs
already in the queue can finish.
state - Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED,
it can accept jobs. If the job queue state is DISABLED, new jobs can't be added to the
queue, but jobs already in the queue can finish.JQState,
JQStateJobQueueDetail.Builder schedulingPolicyArn(String schedulingPolicyArn)
The Amazon Resource Name (ARN) of the scheduling policy. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For
example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.
schedulingPolicyArn - The Amazon Resource Name (ARN) of the scheduling policy. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name .
For example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.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 for the current status of the job queue.
statusReason - A short, human-readable string to provide additional details for the current status of the job queue.JobQueueDetail.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. All of the compute
environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or
FARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.
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. All of the compute environments must be either EC2 (EC2 or
SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and Fargate
compute environments can't be mixed.JobQueueDetail.Builder computeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that 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 that 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 that 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 that 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 that job placement is preferred. Compute environments are selected for job placement in ascending order.
This is a convenience method that creates an instance of theComputeEnvironmentOrder.Builder avoiding the need to
create one manually via ComputeEnvironmentOrder.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #computeEnvironmentOrder(List.
computeEnvironmentOrder - a consumer that will call methods on
ComputeEnvironmentOrder.Builder#computeEnvironmentOrder(java.util.Collection) JobQueueDetail.Builder tags(Map<String,String> tags)
The tags that are applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
tags - The tags that are applied to the job queue. For more information, see Tagging your Batch
resources in Batch User Guide.Copyright © 2023. All rights reserved.