@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobQueueDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details for an Batch job queue.
| Constructor and Description |
|---|
JobQueueDetail() |
| Modifier and Type | Method and Description |
|---|---|
JobQueueDetail |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
JobQueueDetail |
clearTagsEntries()
Removes all the entries added into Tags.
|
JobQueueDetail |
clone() |
boolean |
equals(Object obj) |
List<ComputeEnvironmentOrder> |
getComputeEnvironmentOrder()
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
String |
getJobQueueArn()
The Amazon Resource Name (ARN) of the job queue.
|
String |
getJobQueueName()
The job queue name.
|
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()
The Amazon Resource Name (ARN) of the scheduling policy.
|
String |
getState()
Describes the ability of the queue to accept new jobs.
|
String |
getStatus()
The status of the job queue (for example,
CREATING or VALID). |
String |
getStatusReason()
A short, human-readable string to provide additional details for the current status of the job queue.
|
Map<String,String> |
getTags()
The tags that are applied to the job queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
void |
setJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
void |
setJobQueueName(String jobQueueName)
The job queue name.
|
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)
The Amazon Resource Name (ARN) of the scheduling policy.
|
void |
setState(JQState state)
Describes the ability of the queue to accept new jobs.
|
void |
setState(String state)
Describes the ability of the queue to accept new jobs.
|
void |
setStatus(JQStatus status)
The status of the job queue (for example,
CREATING or VALID). |
void |
setStatus(String status)
The status of the job queue (for example,
CREATING or VALID). |
void |
setStatusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the job queue.
|
void |
setTags(Map<String,String> tags)
The tags that are applied to the job queue.
|
String |
toString()
Returns a string representation of this object.
|
JobQueueDetail |
withComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
JobQueueDetail |
withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order that job placement is preferred.
|
JobQueueDetail |
withJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
JobQueueDetail |
withJobQueueName(String jobQueueName)
The job queue name.
|
JobQueueDetail |
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.
|
JobQueueDetail |
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.
|
JobQueueDetail |
withPriority(Integer priority)
The priority of the job queue.
|
JobQueueDetail |
withSchedulingPolicyArn(String schedulingPolicyArn)
The Amazon Resource Name (ARN) of the scheduling policy.
|
JobQueueDetail |
withState(JQState state)
Describes the ability of the queue to accept new jobs.
|
JobQueueDetail |
withState(String state)
Describes the ability of the queue to accept new jobs.
|
JobQueueDetail |
withStatus(JQStatus status)
The status of the job queue (for example,
CREATING or VALID). |
JobQueueDetail |
withStatus(String status)
The status of the job queue (for example,
CREATING or VALID). |
JobQueueDetail |
withStatusReason(String statusReason)
A short, human-readable string to provide additional details for the current status of the job queue.
|
JobQueueDetail |
withTags(Map<String,String> tags)
The tags that are applied to the job queue.
|
public void setJobQueueName(String jobQueueName)
The job queue name.
jobQueueName - The job queue name.public String getJobQueueName()
The job queue name.
public JobQueueDetail withJobQueueName(String jobQueueName)
The job queue name.
jobQueueName - The job queue name.public void setJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
jobQueueArn - The Amazon Resource Name (ARN) of the job queue.public String getJobQueueArn()
The Amazon Resource Name (ARN) of the job queue.
public JobQueueDetail withJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
jobQueueArn - The Amazon Resource Name (ARN) of the job queue.public void setState(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.JQStatepublic String getState()
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.
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 JobQueueDetail withState(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.JQStatepublic void setState(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.JQStatepublic JobQueueDetail withState(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.JQStatepublic void setSchedulingPolicyArn(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.public String getSchedulingPolicyArn()
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.
aws:Partition:batch:Region:Account:scheduling-policy/Name . For
example, aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.public JobQueueDetail withSchedulingPolicyArn(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.public void setStatus(String status)
The status of the job queue (for example, CREATING or VALID).
status - The status of the job queue (for example, CREATING or VALID).JQStatuspublic String getStatus()
The status of the job queue (for example, CREATING or VALID).
CREATING or VALID).JQStatuspublic JobQueueDetail withStatus(String status)
The status of the job queue (for example, CREATING or VALID).
status - The status of the job queue (for example, CREATING or VALID).JQStatuspublic void setStatus(JQStatus status)
The status of the job queue (for example, CREATING or VALID).
status - The status of the job queue (for example, CREATING or VALID).JQStatuspublic JobQueueDetail withStatus(JQStatus status)
The status of the job queue (for example, CREATING or VALID).
status - The status of the job queue (for example, CREATING or VALID).JQStatuspublic void setStatusReason(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.public String getStatusReason()
A short, human-readable string to provide additional details for the current status of the job queue.
public JobQueueDetail withStatusReason(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.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 Amazon EC2 (EC2 or SPOT) or Fargate (FARGATE or
FARGATE_SPOT). Amazon 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 Amazon EC2 (EC2 or SPOT) or
Fargate (FARGATE or FARGATE_SPOT). Amazon 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 Amazon EC2 (EC2 or SPOT) or Fargate (FARGATE or
FARGATE_SPOT). Amazon 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 Amazon EC2 (EC2 or SPOT) or
Fargate (FARGATE or FARGATE_SPOT). Amazon EC2 and Fargate compute environments
can't be mixed.public JobQueueDetail 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 Amazon EC2 (EC2 or SPOT) or Fargate (FARGATE or
FARGATE_SPOT). Amazon 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 Amazon EC2 (EC2 or SPOT) or
Fargate (FARGATE or FARGATE_SPOT). Amazon EC2 and Fargate compute environments
can't be mixed.public List<ComputeEnvironmentOrder> getComputeEnvironmentOrder()
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.
public void setComputeEnvironmentOrder(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.public JobQueueDetail withComputeEnvironmentOrder(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.
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 - 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.public JobQueueDetail withComputeEnvironmentOrder(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.public Map<String,String> getTags()
The tags that are applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
public void setTags(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.public JobQueueDetail withTags(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.public JobQueueDetail addTagsEntry(String key, String value)
public JobQueueDetail clearTagsEntries()
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 JobQueueDetail 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 JobQueueDetail 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 JobQueueDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.