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

    • arn

      Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
      Parameters:
      arn - Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      Offering.Builder currencyCode(String currencyCode)
      Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
      Parameters:
      currencyCode - Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Offering.Builder duration(Integer duration)
      Lease duration, e.g. '12'
      Parameters:
      duration - Lease duration, e.g. '12'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationUnits

      Offering.Builder durationUnits(String durationUnits)
      Units for duration, e.g. 'MONTHS'
      Parameters:
      durationUnits - Units for duration, e.g. 'MONTHS'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • durationUnits

      Offering.Builder durationUnits(OfferingDurationUnits durationUnits)
      Units for duration, e.g. 'MONTHS'
      Parameters:
      durationUnits - Units for duration, e.g. 'MONTHS'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fixedPrice

      Offering.Builder fixedPrice(Double fixedPrice)
      One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
      Parameters:
      fixedPrice - One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringDescription

      Offering.Builder offeringDescription(String offeringDescription)
      Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
      Parameters:
      offeringDescription - Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringId

      Offering.Builder offeringId(String offeringId)
      Unique offering ID, e.g. '87654321'
      Parameters:
      offeringId - Unique offering ID, e.g. '87654321'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • offeringType

      Offering.Builder offeringType(String offeringType)
      Offering type, e.g. 'NO_UPFRONT'
      Parameters:
      offeringType - Offering type, e.g. 'NO_UPFRONT'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • offeringType

      Offering.Builder offeringType(OfferingType offeringType)
      Offering type, e.g. 'NO_UPFRONT'
      Parameters:
      offeringType - Offering type, e.g. 'NO_UPFRONT'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • region

      Offering.Builder region(String region)
      AWS region, e.g. 'us-west-2'
      Parameters:
      region - AWS region, e.g. 'us-west-2'
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSpecification

      Offering.Builder resourceSpecification(ReservationResourceSpecification resourceSpecification)
      Resource configuration details
      Parameters:
      resourceSpecification - Resource configuration details
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSpecification

      default Offering.Builder resourceSpecification(Consumer<ReservationResourceSpecification.Builder> resourceSpecification)
      Resource configuration details This is a convenience method that creates an instance of the ReservationResourceSpecification.Builder avoiding the need to create one manually via ReservationResourceSpecification.builder().

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

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

      Offering.Builder usagePrice(Double usagePrice)
      Recurring usage charge for each reserved resource, e.g. '157.0'
      Parameters:
      usagePrice - Recurring usage charge for each reserved resource, e.g. '157.0'
      Returns:
      Returns a reference to this object so that method calls can be chained together.