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 Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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
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
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 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
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 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 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
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
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 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 onReservationResourceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-