Class ReservationPlan

    • 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 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:
        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 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:
        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 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:
        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 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:
        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.
      • 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:
        ReservationPlanStatus
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)