Interface Offering.Builder

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

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

    • currencyCode

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

      Offering.Builder duration(Integer duration)
      The length of time that your reservation would be active.
      Parameters:
      duration - The length of time that your reservation would be active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationUnits

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

      Offering.Builder durationUnits(DurationUnits durationUnits)
      The unit of measurement for the duration of the offering.
      Parameters:
      durationUnits - The unit of measurement for the duration of the offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringArn

      Offering.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

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

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

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

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

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

      default Offering.Builder resourceSpecification(Consumer<ResourceSpecification.Builder> resourceSpecification)
      A definition of the amount of outbound bandwidth that you would be reserving if you purchase 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: