@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobQueueDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the details of an AWS 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 in which job placement is preferred.
|
String |
getJobQueueArn()
The Amazon Resource Name (ARN) of the job queue.
|
String |
getJobQueueName()
The name of the job queue.
|
Integer |
getPriority()
The priority of the job queue.
|
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 about the current status of the job queue.
|
Map<String,String> |
getTags()
The tags applied to the job queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComputeEnvironmentOrder(Collection<ComputeEnvironmentOrder> computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is preferred.
|
void |
setJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
void |
setJobQueueName(String jobQueueName)
The name of the job queue.
|
void |
setPriority(Integer priority)
The priority of the job queue.
|
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 about the current status of the job queue.
|
void |
setTags(Map<String,String> tags)
The tags 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 in which job placement is preferred.
|
JobQueueDetail |
withComputeEnvironmentOrder(ComputeEnvironmentOrder... computeEnvironmentOrder)
The compute environments that are attached to the job queue and the order in which job placement is preferred.
|
JobQueueDetail |
withJobQueueArn(String jobQueueArn)
The Amazon Resource Name (ARN) of the job queue.
|
JobQueueDetail |
withJobQueueName(String jobQueueName)
The name of the job queue.
|
JobQueueDetail |
withPriority(Integer priority)
The priority of the job queue.
|
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 about the current status of the job queue.
|
JobQueueDetail |
withTags(Map<String,String> tags)
The tags applied to the job queue.
|
public void setJobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName
- The name of the job queue.public String getJobQueueName()
The name of the job queue.
public JobQueueDetail withJobQueueName(String jobQueueName)
The name of the job queue.
jobQueueName
- The name of the job queue.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 is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot 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
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the
queue, but jobs already in the queue can finish.JQState
public String getState()
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the queue, but jobs
already in the queue can finish.
ENABLED
, it
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the
queue, but jobs already in the queue can finish.JQState
public JobQueueDetail withState(String state)
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot 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
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the
queue, but jobs already in the queue can finish.JQState
public void setState(JQState state)
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot 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
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the
queue, but jobs already in the queue can finish.JQState
public JobQueueDetail withState(JQState state)
Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED
, it is able
to accept jobs. If the job queue state is DISABLED
, new jobs cannot 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
is able to accept jobs. If the job queue state is DISABLED
, new jobs cannot be added to the
queue, but jobs already in the queue can finish.JQState
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
).JQStatus
public String getStatus()
The status of the job queue (for example, CREATING
or VALID
).
CREATING
or VALID
).JQStatus
public 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
).JQStatus
public 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
).JQStatus
public 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
).JQStatus
public void setStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job queue.
statusReason
- A short, human-readable string to provide additional details about the current status of the job queue.public String getStatusReason()
A short, human-readable string to provide additional details about the current status of the job queue.
public JobQueueDetail withStatusReason(String statusReason)
A short, human-readable string to provide additional details about the current status of the job queue.
statusReason
- A short, human-readable string to provide additional details about the current status of the job queue.public void setPriority(Integer priority)
The priority of the job queue.
priority
- The priority of the job queue.public Integer getPriority()
The priority of the job queue.
public JobQueueDetail withPriority(Integer priority)
The priority of the job queue.
priority
- The priority of the job queue.public List<ComputeEnvironmentOrder> getComputeEnvironmentOrder()
The compute environments that are attached to the job queue and the order in which 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 in which 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 in which 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 in which 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 in which 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 in which 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 in which job placement is
preferred. Compute environments are selected for job placement in ascending order.public Map<String,String> getTags()
The tags applied to the job queue.
public void setTags(Map<String,String> tags)
The tags applied to the job queue.
tags
- The tags applied to the job queue.public JobQueueDetail withTags(Map<String,String> tags)
The tags applied to the job queue.
tags
- The tags applied to the job queue.public JobQueueDetail addTagsEntry(String key, String value)
public JobQueueDetail clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public JobQueueDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.