@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 |
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.
|
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 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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.
|
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.
state
- Describes the ability of the queue to accept new jobs.JQState
public String getState()
Describes the ability of the queue to accept new jobs.
JQState
public JobQueueDetail withState(String state)
Describes the ability of the queue to accept new jobs.
state
- Describes the ability of the queue to accept new jobs.JQState
public void setState(JQState state)
Describes the ability of the queue to accept new jobs.
state
- Describes the ability of the queue to accept new jobs.JQState
public JobQueueDetail withState(JQState state)
Describes the ability of the queue to accept new jobs.
state
- Describes the ability of the queue to accept new jobs.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.