@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateJobQueueRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for UpdateJobQueue.
NOOP| Constructor and Description |
|---|
UpdateJobQueueRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateJobQueueRequest |
clone() |
boolean |
equals(Object obj) |
List<ComputeEnvironmentOrder> |
getComputeEnvironmentOrder()
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
String |
getJobQueue()
The name or the Amazon Resource Name (ARN) of the job queue.
|
List<JobStateTimeLimitAction> |
getJobStateTimeLimitActions()
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times.
|
Integer |
getPriority()
The priority of the job queue.
|
String |
getSchedulingPolicyArn()
Amazon Resource Name (ARN) of the fair share scheduling policy.
|
String |
getState()
Describes the queue's ability to accept new jobs.
|
int |
hashCode() |
void |
setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
void |
setJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
|
void |
setJobStateTimeLimitActions(Collection<JobStateTimeLimitAction> jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times.
|
void |
setPriority(Integer priority)
The priority of the job queue.
|
void |
setSchedulingPolicyArn(String schedulingPolicyArn)
Amazon Resource Name (ARN) of the fair share scheduling policy.
|
void |
setState(JQState state)
Describes the queue's ability to accept new jobs.
|
void |
setState(String state)
Describes the queue's ability to accept new jobs.
|
String |
toString()
Returns a string representation of this object.
|
UpdateJobQueueRequest |
withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest |
withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
Details the set of compute environments mapped to a job queue and their order relative to each other.
|
UpdateJobQueueRequest |
withJobQueue(String jobQueue)
The name or the Amazon Resource Name (ARN) of the job queue.
|
UpdateJobQueueRequest |
withJobStateTimeLimitActions(Collection<JobStateTimeLimitAction> jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times.
|
UpdateJobQueueRequest |
withJobStateTimeLimitActions(JobStateTimeLimitAction... jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times.
|
UpdateJobQueueRequest |
withPriority(Integer priority)
The priority of the job queue.
|
UpdateJobQueueRequest |
withSchedulingPolicyArn(String schedulingPolicyArn)
Amazon Resource Name (ARN) of the fair share scheduling policy.
|
UpdateJobQueueRequest |
withState(JQState state)
Describes the queue's ability to accept new jobs.
|
UpdateJobQueueRequest |
withState(String state)
Describes the queue's ability to accept new jobs.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setJobQueue(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.public String getJobQueue()
The name or the Amazon Resource Name (ARN) of the job queue.
public UpdateJobQueueRequest withJobQueue(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.public void setState(String state)
Describes the queue's ability 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 queue's ability 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.JQStatepublic String getState()
Describes the queue's ability 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.
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.JQStatepublic UpdateJobQueueRequest withState(String state)
Describes the queue's ability 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 queue's ability 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.JQStatepublic void setState(JQState state)
Describes the queue's ability 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 queue's ability 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.JQStatepublic UpdateJobQueueRequest withState(JQState state)
Describes the queue's ability 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 queue's ability 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.JQStatepublic void setSchedulingPolicyArn(String schedulingPolicyArn)
Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share
scheduling policy can be replaced but not removed. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For example,
aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.
schedulingPolicyArn - Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair
share scheduling policy can be replaced but not removed. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For
example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.public String getSchedulingPolicyArn()
Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share
scheduling policy can be replaced but not removed. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For example,
aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.
aws:Partition:batch:Region:Account:scheduling-policy/Name . For
example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.public UpdateJobQueueRequest withSchedulingPolicyArn(String schedulingPolicyArn)
Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share
scheduling policy can be replaced but not removed. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For example,
aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.
schedulingPolicyArn - Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair
share scheduling policy can be replaced but not removed. The format is
aws:Partition:batch:Region:Account:scheduling-policy/Name . For
example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.public void setPriority(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.public Integer getPriority()
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 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.public UpdateJobQueueRequest withPriority(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.public List<ComputeEnvironmentOrder> getComputeEnvironmentOrder()
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 runs a given job. Compute
environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
VALID state before you can associate them
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. Batch doesn't support mixing compute environment architecture types in a single job queue.
public void setComputeEnvironmentOrder(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 runs a given job. Compute
environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
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 runs a given
job. Compute environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
public UpdateJobQueueRequest withComputeEnvironmentOrder(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 runs a given job. Compute
environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
NOTE: This method appends the values to the existing list (if any). Use
setComputeEnvironmentOrder(java.util.Collection) or
withComputeEnvironmentOrder(java.util.Collection) if you want to override the existing values.
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 runs a given
job. Compute environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
public UpdateJobQueueRequest withComputeEnvironmentOrder(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 runs a given job. Compute
environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
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 runs a given
job. Compute environments must be in the VALID state before you can associate them 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. Batch doesn't support mixing compute environment architecture types in a single job queue.
public List<JobStateTimeLimitAction> getJobStateTimeLimitActions()
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
maxTimeSeconds has
passed.public void setJobStateTimeLimitActions(Collection<JobStateTimeLimitAction> jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
jobStateTimeLimitActions - The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified
state longer than specified times. Batch will perform each action after maxTimeSeconds has
passed.public UpdateJobQueueRequest withJobStateTimeLimitActions(JobStateTimeLimitAction... jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
NOTE: This method appends the values to the existing list (if any). Use
setJobStateTimeLimitActions(java.util.Collection) or
withJobStateTimeLimitActions(java.util.Collection) if you want to override the existing values.
jobStateTimeLimitActions - The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified
state longer than specified times. Batch will perform each action after maxTimeSeconds has
passed.public UpdateJobQueueRequest withJobStateTimeLimitActions(Collection<JobStateTimeLimitAction> jobStateTimeLimitActions)
The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state
longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
jobStateTimeLimitActions - The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified
state longer than specified times. Batch will perform each action after maxTimeSeconds has
passed.public String toString()
toString in class ObjectObject.toString()public UpdateJobQueueRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2025. All rights reserved.