Interface Reservation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Reservation.Builder,Reservation>, SdkBuilder<Reservation.Builder,Reservation>, SdkPojo
Enclosing class:
Reservation

public static interface Reservation.Builder extends SdkPojo, CopyableBuilder<Reservation.Builder,Reservation>
  • Method Details

    • currencyCode

      Reservation.Builder currencyCode(String currencyCode)
      The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.
      Parameters:
      currencyCode - The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Reservation.Builder duration(Integer duration)
      The length of time that this reservation is active. MediaConnect defines this value in the offering.
      Parameters:
      duration - The length of time that this reservation is active. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationUnits

      Reservation.Builder durationUnits(String durationUnits)
      The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
      Parameters:
      durationUnits - The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • durationUnits

      Reservation.Builder durationUnits(DurationUnits durationUnits)
      The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
      Parameters:
      durationUnits - The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • end

      The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.
      Parameters:
      end - The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringArn

      Reservation.Builder offeringArn(String offeringArn)
      The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
      Parameters:
      offeringArn - The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringDescription

      Reservation.Builder offeringDescription(String offeringDescription)
      A description of the offering. MediaConnect defines this value in the offering.
      Parameters:
      offeringDescription - A description of the offering. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pricePerUnit

      Reservation.Builder pricePerUnit(String pricePerUnit)
      The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.
      Parameters:
      pricePerUnit - The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priceUnits

      Reservation.Builder priceUnits(String priceUnits)
      The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.
      Parameters:
      priceUnits - The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priceUnits

      Reservation.Builder priceUnits(PriceUnits priceUnits)
      The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.
      Parameters:
      priceUnits - The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reservationArn

      Reservation.Builder reservationArn(String reservationArn)
      The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.
      Parameters:
      reservationArn - The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reservationName

      Reservation.Builder reservationName(String reservationName)
      The name that you assigned to the reservation when you purchased the offering.
      Parameters:
      reservationName - The name that you assigned to the reservation when you purchased the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reservationState

      Reservation.Builder reservationState(String reservationState)
      The status of your reservation.
      Parameters:
      reservationState - The status of your reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reservationState

      Reservation.Builder reservationState(ReservationState reservationState)
      The status of your reservation.
      Parameters:
      reservationState - The status of your reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceSpecification

      Reservation.Builder resourceSpecification(ResourceSpecification resourceSpecification)
      A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.
      Parameters:
      resourceSpecification - A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSpecification

      default Reservation.Builder resourceSpecification(Consumer<ResourceSpecification.Builder> resourceSpecification)
      A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering. This is a convenience method that creates an instance of the ResourceSpecification.Builder avoiding the need to create one manually via ResourceSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceSpecification(ResourceSpecification).

      Parameters:
      resourceSpecification - a consumer that will call methods on ResourceSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • start

      The day and time that the reservation becomes active. You set this value when you purchase the offering.
      Parameters:
      start - The day and time that the reservation becomes active. You set this value when you purchase the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.