@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 time that you commit to when you set up a pricing plan contract for a reserved queue.
|
Date |
getExpiresAt()
The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.
|
Date |
getPurchasedAt()
The time stamp in epoch seconds when the reserved queue's reservation plan was created.
|
String |
getRenewalType()
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
Integer |
getReservedSlots()
Specifies the number of reserved transcode slots (RTSs) for this queue.
|
String |
getStatus()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCommitment(String commitment)
The length of time that you commit to when you set up a pricing plan contract for a reserved queue.
|
void |
setExpiresAt(Date expiresAt)
The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.
|
void |
setPurchasedAt(Date purchasedAt)
The time stamp in epoch seconds when the reserved queue's reservation plan was created.
|
void |
setRenewalType(String renewalType)
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
void |
setReservedSlots(Integer reservedSlots)
Specifies the number of reserved transcode slots (RTSs) 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; useful for testing and debugging.
|
ReservationPlan |
withCommitment(Commitment commitment)
The length of time that you commit to when you set up a pricing plan contract for a reserved queue.
|
ReservationPlan |
withCommitment(String commitment)
The length of time that you commit to when you set up a pricing plan contract for a reserved queue.
|
ReservationPlan |
withExpiresAt(Date expiresAt)
The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.
|
ReservationPlan |
withPurchasedAt(Date purchasedAt)
The time stamp in epoch seconds when the reserved queue's reservation plan was created.
|
ReservationPlan |
withRenewalType(RenewalType renewalType)
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
ReservationPlan |
withRenewalType(String renewalType)
Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or expires
(EXPIRE) at the end of the contract period.
|
ReservationPlan |
withReservedSlots(Integer reservedSlots)
Specifies the number of reserved transcode slots (RTSs) 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 time that you commit to when you set up a pricing plan contract for a reserved queue.Commitmentpublic String getCommitment()
Commitmentpublic ReservationPlan withCommitment(String commitment)
commitment - The length of time that you commit to when you set up a pricing plan contract for a reserved queue.Commitmentpublic ReservationPlan withCommitment(Commitment commitment)
commitment - The length of time that you commit to when you set up a pricing plan contract for a reserved queue.Commitmentpublic void setExpiresAt(Date expiresAt)
expiresAt - The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.public Date getExpiresAt()
public ReservationPlan withExpiresAt(Date expiresAt)
expiresAt - The time stamp, in epoch seconds, for when the pricing plan for this reserved queue expires.public void setPurchasedAt(Date purchasedAt)
purchasedAt - The time stamp in epoch seconds when the reserved queue's reservation plan was created.public Date getPurchasedAt()
public ReservationPlan withPurchasedAt(Date purchasedAt)
purchasedAt - The time stamp in epoch seconds when the reserved queue's reservation plan was created.public void setRenewalType(String renewalType)
renewalType - Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or
expires (EXPIRE) at the end of the contract period.RenewalTypepublic String getRenewalType()
RenewalTypepublic ReservationPlan withRenewalType(String renewalType)
renewalType - Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or
expires (EXPIRE) at the end of the contract period.RenewalTypepublic ReservationPlan withRenewalType(RenewalType renewalType)
renewalType - Specifies whether the pricing plan contract for your reserved queue automatically renews (AUTO_RENEW) or
expires (EXPIRE) at the end of the contract period.RenewalTypepublic void setReservedSlots(Integer reservedSlots)
reservedSlots - Specifies the number of reserved transcode slots (RTSs) 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. To increase this
number, create a replacement contract through the AWS Elemental MediaConvert console.public Integer getReservedSlots()
public ReservationPlan withReservedSlots(Integer reservedSlots)
reservedSlots - Specifies the number of reserved transcode slots (RTSs) 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. To increase this
number, create a replacement contract through the AWS Elemental MediaConvert console.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)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.