@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 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 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)
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 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 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 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'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.
state
- 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.JQState
public String getState()
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.
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.JQState
public JobQueueDetail withState(String state)
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.
state
- 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.JQState
public void setState(JQState state)
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.
state
- 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.JQState
public JobQueueDetail withState(JQState state)
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.
state
- 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.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. 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 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 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()
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 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 applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
tags
- The tags 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 applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
tags
- The tags 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 String toString()
toString
in class Object
Object.toString()
public JobQueueDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.