@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Queue extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Queue() |
Modifier and Type | Method and Description |
---|---|
Queue |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
An identifier for this resource that is unique within all of AWS.
|
Date |
getCreatedAt()
The timestamp in epoch seconds for when you created the queue.
|
String |
getDescription()
An optional description that you create for each queue.
|
Date |
getLastUpdated()
The timestamp in epoch seconds for when you most recently updated the queue.
|
String |
getName()
A name that you create for each queue.
|
String |
getPricingPlan()
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
Integer |
getProgressingJobsCount()
The estimated number of jobs with a PROGRESSING status.
|
ReservationPlan |
getReservationPlan()
Details about the pricing plan for your reserved queue.
|
String |
getStatus()
Queues can be ACTIVE or PAUSED.
|
Integer |
getSubmittedJobsCount()
The estimated number of jobs with a SUBMITTED status.
|
String |
getType()
Specifies whether this on-demand queue is system or custom.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
void |
setCreatedAt(Date createdAt)
The timestamp in epoch seconds for when you created the queue.
|
void |
setDescription(String description)
An optional description that you create for each queue.
|
void |
setLastUpdated(Date lastUpdated)
The timestamp in epoch seconds for when you most recently updated the queue.
|
void |
setName(String name)
A name that you create for each queue.
|
void |
setPricingPlan(String pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
void |
setProgressingJobsCount(Integer progressingJobsCount)
The estimated number of jobs with a PROGRESSING status.
|
void |
setReservationPlan(ReservationPlan reservationPlan)
Details about the pricing plan for your reserved queue.
|
void |
setStatus(String status)
Queues can be ACTIVE or PAUSED.
|
void |
setSubmittedJobsCount(Integer submittedJobsCount)
The estimated number of jobs with a SUBMITTED status.
|
void |
setType(String type)
Specifies whether this on-demand queue is system or custom.
|
String |
toString()
Returns a string representation of this object.
|
Queue |
withArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
Queue |
withCreatedAt(Date createdAt)
The timestamp in epoch seconds for when you created the queue.
|
Queue |
withDescription(String description)
An optional description that you create for each queue.
|
Queue |
withLastUpdated(Date lastUpdated)
The timestamp in epoch seconds for when you most recently updated the queue.
|
Queue |
withName(String name)
A name that you create for each queue.
|
Queue |
withPricingPlan(PricingPlan pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
Queue |
withPricingPlan(String pricingPlan)
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
Queue |
withProgressingJobsCount(Integer progressingJobsCount)
The estimated number of jobs with a PROGRESSING status.
|
Queue |
withReservationPlan(ReservationPlan reservationPlan)
Details about the pricing plan for your reserved queue.
|
Queue |
withStatus(QueueStatus status)
Queues can be ACTIVE or PAUSED.
|
Queue |
withStatus(String status)
Queues can be ACTIVE or PAUSED.
|
Queue |
withSubmittedJobsCount(Integer submittedJobsCount)
The estimated number of jobs with a SUBMITTED status.
|
Queue |
withType(String type)
Specifies whether this on-demand queue is system or custom.
|
Queue |
withType(Type type)
Specifies whether this on-demand queue is system or custom.
|
public void setArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public String getArn()
public Queue withArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public void setCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for when you created the queue.public Date getCreatedAt()
public Queue withCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for when you created the queue.public void setDescription(String description)
description
- An optional description that you create for each queue.public String getDescription()
public Queue withDescription(String description)
description
- An optional description that you create for each queue.public void setLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds for when you most recently updated the queue.public Date getLastUpdated()
public Queue withLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds for when you most recently updated the queue.public void setName(String name)
name
- A name that you create for each queue. Each name must be unique within your account.public String getName()
public Queue withName(String name)
name
- A name that you create for each queue. Each name must be unique within your account.public void setPricingPlan(String pricingPlan)
pricingPlan
- Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per
minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the
entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month
commitment.PricingPlan
public String getPricingPlan()
PricingPlan
public Queue withPricingPlan(String pricingPlan)
pricingPlan
- Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per
minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the
entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month
commitment.PricingPlan
public Queue withPricingPlan(PricingPlan pricingPlan)
pricingPlan
- Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per
minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the
entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month
commitment.PricingPlan
public void setProgressingJobsCount(Integer progressingJobsCount)
progressingJobsCount
- The estimated number of jobs with a PROGRESSING status.public Integer getProgressingJobsCount()
public Queue withProgressingJobsCount(Integer progressingJobsCount)
progressingJobsCount
- The estimated number of jobs with a PROGRESSING status.public void setReservationPlan(ReservationPlan reservationPlan)
reservationPlan
- Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to
on-demand queues.public ReservationPlan getReservationPlan()
public Queue withReservationPlan(ReservationPlan reservationPlan)
reservationPlan
- Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to
on-demand queues.public void setStatus(String status)
status
- Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that
queue. Jobs that are running when you pause the queue continue to run until they finish or result in an
error.QueueStatus
public String getStatus()
QueueStatus
public Queue withStatus(String status)
status
- Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that
queue. Jobs that are running when you pause the queue continue to run until they finish or result in an
error.QueueStatus
public Queue withStatus(QueueStatus status)
status
- Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that
queue. Jobs that are running when you pause the queue continue to run until they finish or result in an
error.QueueStatus
public void setSubmittedJobsCount(Integer submittedJobsCount)
submittedJobsCount
- The estimated number of jobs with a SUBMITTED status.public Integer getSubmittedJobsCount()
public Queue withSubmittedJobsCount(Integer submittedJobsCount)
submittedJobsCount
- The estimated number of jobs with a SUBMITTED status.public void setType(String type)
type
- Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify
or delete system queues. You can create and modify custom queues.Type
public String getType()
Type
public Queue withType(String type)
type
- Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify
or delete system queues. You can create and modify custom queues.Type
public Queue withType(Type type)
type
- Specifies whether this on-demand queue is system or custom. System queues are built in. You can't modify
or delete system queues. You can create and modify custom queues.Type
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.