Interface ReservationPlan.Builder

    • Method Detail

      • commitment

        ReservationPlan.Builder commitment​(String commitment)
        The length of the term of your reserved queue pricing plan commitment.
        Parameters:
        commitment - The length of the term of your reserved queue pricing plan commitment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Commitment, Commitment
      • commitment

        ReservationPlan.Builder commitment​(Commitment commitment)
        The length of the term of your reserved queue pricing plan commitment.
        Parameters:
        commitment - The length of the term of your reserved queue pricing plan commitment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Commitment, Commitment
      • expiresAt

        ReservationPlan.Builder expiresAt​(Instant expiresAt)
        The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
        Parameters:
        expiresAt - The timestamp in epoch seconds for when the current pricing plan term for this reserved queue expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • purchasedAt

        ReservationPlan.Builder purchasedAt​(Instant purchasedAt)
        The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
        Parameters:
        purchasedAt - The timestamp in epoch seconds for when you set up the current pricing plan for this reserved queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • renewalType

        ReservationPlan.Builder renewalType​(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.
        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RenewalType, RenewalType
      • renewalType

        ReservationPlan.Builder 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.
        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RenewalType, RenewalType
      • reservedSlots

        ReservationPlan.Builder reservedSlots​(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.
        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ReservationPlan.Builder status​(String status)
        Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
        Parameters:
        status - Specifies whether the pricing plan for your reserved queue is ACTIVE or EXPIRED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ReservationPlanStatus, ReservationPlanStatus