@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationPlanSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ReservationPlanSettings() |
| Modifier and Type | Method and Description |
|---|---|
ReservationPlanSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCommitment()
The length of the term of your reserved queue pricing plan commitment.
|
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.
|
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 |
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.
|
String |
toString()
Returns a string representation of this object.
|
ReservationPlanSettings |
withCommitment(Commitment commitment)
The length of the term of your reserved queue pricing plan commitment.
|
ReservationPlanSettings |
withCommitment(String commitment)
The length of the term of your reserved queue pricing plan commitment.
|
ReservationPlanSettings |
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.
|
ReservationPlanSettings |
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.
|
ReservationPlanSettings |
withReservedSlots(Integer reservedSlots)
Specifies the number of reserved transcode slots (RTS) for this queue.
|
public void setCommitment(String commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic String getCommitment()
Commitmentpublic ReservationPlanSettings withCommitment(String commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic ReservationPlanSettings withCommitment(Commitment commitment)
commitment - The length of the term of your reserved queue pricing plan commitment.Commitmentpublic 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. When your term is auto renewed, you extend your commitment by 12
months from the auto renew date. You can cancel this commitment.RenewalTypepublic String getRenewalType()
RenewalTypepublic ReservationPlanSettings 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. When your term is auto renewed, you extend your commitment by 12
months from the auto renew date. You can cancel this commitment.RenewalTypepublic ReservationPlanSettings 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. When your term is auto renewed, you extend your commitment by 12
months from the auto renew date. You can cancel this commitment.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. You can't decrease
the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing
commitment with a new 12-month commitment for the larger number. The new commitment begins when you
purchase the additional capacity. You can't cancel your commitment or revert to your original commitment
after you increase the capacity.public Integer getReservedSlots()
public ReservationPlanSettings 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. You can't decrease
the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing
commitment with a new 12-month commitment for the larger number. The new commitment begins when you
purchase the additional capacity. You can't cancel your commitment or revert to your original commitment
after you increase the capacity.public String toString()
toString in class ObjectObject.toString()public ReservationPlanSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.