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:
  • Method Details

    • 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 return Commitment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from commitmentAsString().

      Returns:
      The length of the term of your reserved queue pricing plan commitment.
      See Also:
    • 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 return Commitment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from commitmentAsString().

      Returns:
      The length of the term of your reserved queue pricing plan commitment.
      See Also:
    • 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 return RenewalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from renewalTypeAsString().

      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

      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 return RenewalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from renewalTypeAsString().

      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

      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 return ReservationPlanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
      See Also:
    • 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 return ReservationPlanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
      See Also:
    • toBuilder

      public ReservationPlan.Builder 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 interface ToCopyableBuilder<ReservationPlan.Builder,ReservationPlan>
      Returns:
      a builder for type T
    • builder

      public static ReservationPlan.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ReservationPlan.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.