@Stability(value=Stable) public static final class CfnJobQueueProps.Builder extends Object implements software.amazon.jsii.Builder<CfnJobQueueProps>
CfnJobQueueProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnJobQueueProps |
build()
Builds the configured instance.
|
CfnJobQueueProps.Builder |
computeEnvironmentOrder(IResolvable computeEnvironmentOrder)
Sets the value of
CfnJobQueueProps.getComputeEnvironmentOrder() |
CfnJobQueueProps.Builder |
computeEnvironmentOrder(List<? extends Object> computeEnvironmentOrder)
Sets the value of
CfnJobQueueProps.getComputeEnvironmentOrder() |
CfnJobQueueProps.Builder |
jobQueueName(String jobQueueName)
Sets the value of
CfnJobQueueProps.getJobQueueName() |
CfnJobQueueProps.Builder |
priority(Number priority)
Sets the value of
CfnJobQueueProps.getPriority() |
CfnJobQueueProps.Builder |
schedulingPolicyArn(String schedulingPolicyArn)
Sets the value of
CfnJobQueueProps.getSchedulingPolicyArn() |
CfnJobQueueProps.Builder |
state(String state)
Sets the value of
CfnJobQueueProps.getState() |
CfnJobQueueProps.Builder |
tags(Map<String,String> tags)
Sets the value of
CfnJobQueueProps.getTags() |
@Stability(value=Stable) public CfnJobQueueProps.Builder computeEnvironmentOrder(IResolvable computeEnvironmentOrder)
CfnJobQueueProps.getComputeEnvironmentOrder()computeEnvironmentOrder - The set of compute environments mapped to a job queue and their order relative to each other. This parameter is required.
The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. 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.
All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
this@Stability(value=Stable) public CfnJobQueueProps.Builder computeEnvironmentOrder(List<? extends Object> computeEnvironmentOrder)
CfnJobQueueProps.getComputeEnvironmentOrder()computeEnvironmentOrder - The set of compute environments mapped to a job queue and their order relative to each other. This parameter is required.
The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue. 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.
All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't support mixing compute environment architecture types in a single job queue.
this@Stability(value=Stable) public CfnJobQueueProps.Builder priority(Number priority)
CfnJobQueueProps.getPriority()priority - The priority of the job queue. This parameter is required.
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.this@Stability(value=Stable) public CfnJobQueueProps.Builder jobQueueName(String jobQueueName)
CfnJobQueueProps.getJobQueueName()jobQueueName - The name of the job queue.
It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).this@Stability(value=Stable) public CfnJobQueueProps.Builder schedulingPolicyArn(String schedulingPolicyArn)
CfnJobQueueProps.getSchedulingPolicyArn()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:012345678910:scheduling-policy/MySchedulingPolicy .this@Stability(value=Stable) public CfnJobQueueProps.Builder state(String state)
CfnJobQueueProps.getState()state - The state of the job queue.
If the job queue state is ENABLED , it is able to 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.this@Stability(value=Stable) public CfnJobQueueProps.Builder tags(Map<String,String> tags)
CfnJobQueueProps.getTags()tags - The tags applied to the job queue.
For more information, see Tagging your AWS Batch resources in AWS Batch User Guide .this@Stability(value=Stable) public CfnJobQueueProps build()
build in interface software.amazon.jsii.Builder<CfnJobQueueProps>CfnJobQueuePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.