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 TypeMethodDescriptioncurrencyCode
(String currencyCode) The type of currency that is used for billing.The length of time that your reservation would be active.durationUnits
(String durationUnits) The unit of measurement for the duration of the offering.durationUnits
(DurationUnits durationUnits) The unit of measurement for the duration of the offering.offeringArn
(String offeringArn) The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.offeringDescription
(String offeringDescription) A description of the offering.pricePerUnit
(String pricePerUnit) The cost of a single unit.priceUnits
(String priceUnits) The unit of measurement that is used for billing.priceUnits
(PriceUnits priceUnits) The unit of measurement that is used for billing.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.resourceSpecification
(ResourceSpecification resourceSpecification) A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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
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
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 theResourceSpecification.Builder
avoiding the need to create one manually viaResourceSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceSpecification(ResourceSpecification)
.- Parameters:
resourceSpecification
- a consumer that will call methods onResourceSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-