Class ReservationPlan
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconvert.model.ReservationPlan
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
@Generated("software.amazon.awssdk:codegen") public final class ReservationPlan extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReservationPlan.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReservationPlan.Builder
builder()
Commitment
commitment()
The length of the term of your reserved queue pricing plan commitment.String
commitmentAsString()
The length of the term of your reserved queue pricing plan commitment.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Instant
expiresAt()
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
purchasedAt()
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.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.String
renewalTypeAsString()
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
reservedSlots()
Specifies the number of reserved transcode slots (RTS) for this queue.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ReservationPlan.Builder>
serializableBuilderClass()
ReservationPlanStatus
status()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.String
statusAsString()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.ReservationPlan.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
commitment
public final Commitment commitment()
The length of the term of your reserved queue pricing plan commitment.If the service returns an enum value that is not available in the current SDK version,
commitment
will returnCommitment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcommitmentAsString()
.- Returns:
- The length of the term of your reserved queue pricing plan commitment.
- See Also:
Commitment
-
commitmentAsString
public final String commitmentAsString()
The length of the term of your reserved queue pricing plan commitment.If the service returns an enum value that is not available in the current SDK version,
commitment
will returnCommitment.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcommitmentAsString()
.- Returns:
- The length of the term of your reserved queue pricing plan commitment.
- See Also:
Commitment
-
expiresAt
public final Instant expiresAt()
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.- Returns:
- The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
-
purchasedAt
public final Instant purchasedAt()
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.- Returns:
- The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
-
renewalType
public final 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.If the service returns an enum value that is not available in the current SDK version,
renewalType
will returnRenewalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrenewalTypeAsString()
.- Returns:
- Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.
- See Also:
RenewalType
-
renewalTypeAsString
public final String renewalTypeAsString()
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.If the service returns an enum value that is not available in the current SDK version,
renewalType
will returnRenewalType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrenewalTypeAsString()
.- Returns:
- Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.
- See Also:
RenewalType
-
reservedSlots
public final Integer 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.- Returns:
- 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.
-
status
public final ReservationPlanStatus status()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.If the service returns an enum value that is not available in the current SDK version,
status
will returnReservationPlanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
- See Also:
ReservationPlanStatus
-
statusAsString
public final String statusAsString()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.If the service returns an enum value that is not available in the current SDK version,
status
will returnReservationPlanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
- See Also:
ReservationPlanStatus
-
toBuilder
public ReservationPlan.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
-
builder
public static ReservationPlan.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservationPlan.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-