Interface Offering.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Offering.Builder,,- Offering> - SdkBuilder<Offering.Builder,,- Offering> - SdkPojo
- Enclosing class:
- Offering
@Mutable
@NotThreadSafe
public static interface Offering.Builder
extends SdkPojo, CopyableBuilder<Offering.Builder,Offering> 
- 
Method SummaryModifier and TypeMethodDescriptionUnique offering ARN, e.g.currencyCode(String currencyCode) Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.Lease duration, e.g.durationUnits(String durationUnits) Units for duration, e.g.durationUnits(OfferingDurationUnits durationUnits) Units for duration, e.g.fixedPrice(Double fixedPrice) One-time charge for each reserved resource, e.g.offeringDescription(String offeringDescription) Offering description, e.g.offeringId(String offeringId) Unique offering ID, e.g.offeringType(String offeringType) Offering type, e.g.offeringType(OfferingType offeringType) Offering type, e.g.AWS region, e.g.default Offering.BuilderresourceSpecification(Consumer<ReservationResourceSpecification.Builder> resourceSpecification) Resource configuration details This is a convenience method that creates an instance of theReservationResourceSpecification.Builderavoiding the need to create one manually viaReservationResourceSpecification.builder().resourceSpecification(ReservationResourceSpecification resourceSpecification) Resource configuration detailsusagePrice(Double usagePrice) Recurring usage charge for each reserved resource, e.g.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
arnUnique 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.
 
- 
currencyCodeCurrency 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.
 
- 
durationLease 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.
 
- 
durationUnitsUnits 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:
 
- 
durationUnitsUnits 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:
 
- 
fixedPriceOne-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.
 
- 
offeringDescriptionOffering 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.
 
- 
offeringIdUnique 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.
 
- 
offeringTypeOffering 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:
 
- 
offeringTypeOffering 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:
 
- 
regionAWS 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.
 
- 
resourceSpecificationResource configuration details- Parameters:
- resourceSpecification- Resource configuration details
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceSpecificationdefault Offering.Builder resourceSpecification(Consumer<ReservationResourceSpecification.Builder> resourceSpecification) Resource configuration details This is a convenience method that creates an instance of theReservationResourceSpecification.Builderavoiding the need to create one manually viaReservationResourceSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSpecification(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:
 
- 
usagePriceRecurring 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.
 
 
-