Class ReservationPlan
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReservationPlan.Builder,
ReservationPlan>
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReservationPlan.Builder
builder()
final Commitment
The length of the term of your reserved queue pricing plan commitment.final String
The length of the term of your reserved queue pricing plan commitment.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.final 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.final String
Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term.final Integer
Specifies the number of reserved transcode slots (RTS) for this queue.static Class
<? extends ReservationPlan.Builder> final ReservationPlanStatus
status()
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.final String
Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
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
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
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:
-
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:
-
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
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:
-
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:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReservationPlan.Builder,
ReservationPlan> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-