@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationPlan extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ReservationPlan() |
| Modifier and Type | Method and Description |
|---|---|
ReservationPlan |
clone() |
boolean |
equals(Object obj) |
String |
getCommitment()
The length of the term of your reserved queue pricing plan commitment.
|
Date |
getExpiresAt()
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
|
Date |
getPurchasedAt()
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
|
String |
getRenewalType()
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
Integer |
getReservedSlots()
Specifies the number of reserved transcode slots (RTS) for this queue.
|
String |
getStatus()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCommitment(String commitment)
The length of the term of your reserved queue pricing plan commitment.
|
void |
setExpiresAt(Date expiresAt)
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
|
void |
setPurchasedAt(Date purchasedAt)
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
|
void |
setRenewalType(String renewalType)
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
void |
setReservedSlots(Integer reservedSlots)
Specifies the number of reserved transcode slots (RTS) for this queue.
|
void |
setStatus(String status)
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
String |
toString()
Returns a string representation of this object.
|
ReservationPlan |
withCommitment(Commitment commitment)
The length of the term of your reserved queue pricing plan commitment.
|
ReservationPlan |
withCommitment(String commitment)
The length of the term of your reserved queue pricing plan commitment.
|
ReservationPlan |
withExpiresAt(Date expiresAt)
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
|
ReservationPlan |
withPurchasedAt(Date purchasedAt)
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
|
ReservationPlan |
withRenewalType(RenewalType renewalType)
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
ReservationPlan |
withRenewalType(String renewalType)
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires
(EXPIRE) at the end of the term.
|
ReservationPlan |
withReservedSlots(Integer reservedSlots)
Specifies the number of reserved transcode slots (RTS) for this queue.
|
ReservationPlan |
withStatus(ReservationPlanStatus status)
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
ReservationPlan |
withStatus(String status)
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
public void setCommitment(String commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic String getCommitment()
Commitmentpublic ReservationPlan withCommitment(String commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic ReservationPlan withCommitment(Commitment commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic void setExpiresAt(Date expiresAt)
expiresAt - The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.public Date getExpiresAt()
public ReservationPlan withExpiresAt(Date expiresAt)
expiresAt - The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.public void setPurchasedAt(Date purchasedAt)
purchasedAt - The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.public Date getPurchasedAt()
public ReservationPlan withPurchasedAt(Date purchasedAt)
purchasedAt - The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.public void setRenewalType(String renewalType)
renewalType - Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or
expires (EXPIRE) at the end of the term.RenewalTypepublic String getRenewalType()
RenewalTypepublic ReservationPlan withRenewalType(String renewalType)
renewalType - Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or
expires (EXPIRE) at the end of the term.RenewalTypepublic ReservationPlan withRenewalType(RenewalType renewalType)
renewalType - Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or
expires (EXPIRE) at the end of the term.RenewalTypepublic void setReservedSlots(Integer reservedSlots)
reservedSlots - Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how
many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase
this number, you extend your existing commitment with a new 12-month commitment for a larger number of
RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of
RTS in your reserved queue.public Integer getReservedSlots()
public ReservationPlan withReservedSlots(Integer reservedSlots)
reservedSlots - Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how
many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase
this number, you extend your existing commitment with a new 12-month commitment for a larger number of
RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of
RTS in your reserved queue.public void setStatus(String status)
status - Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.ReservationPlanStatuspublic String getStatus()
ReservationPlanStatuspublic ReservationPlan withStatus(String status)
status - Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.ReservationPlanStatuspublic ReservationPlan withStatus(ReservationPlanStatus status)
status - Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.ReservationPlanStatuspublic String toString()
toString in class ObjectObject.toString()public ReservationPlan clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.