Struct aws_sdk_batch::model::job_queue_detail::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for JobQueueDetail
Implementations
The name of the job queue.
The name of the job queue.
The Amazon Resource Name (ARN) of the job queue.
The Amazon Resource Name (ARN) of the job queue.
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it's 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.
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it's 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.
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
.
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
.
The status of the job queue (for example, CREATING
or VALID
).
The status of the job queue (for example, CREATING
or VALID
).
A short, human-readable string to provide additional details about the current status of the job queue.
A short, human-readable string to provide additional details about the current status of the job queue.
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.
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.
Appends an item to compute_environment_order
.
To override the contents of this collection use set_compute_environment_order
.
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.
pub fn set_compute_environment_order(
self,
input: Option<Vec<ComputeEnvironmentOrder>>
) -> Self
pub fn set_compute_environment_order(
self,
input: Option<Vec<ComputeEnvironmentOrder>>
) -> Self
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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
The tags applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
Consumes the builder and constructs a JobQueueDetail
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more