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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Offering.BuildercurrencyCode(String currencyCode)The type of currency that is used for billing.Offering.Builderduration(Integer duration)The length of time that your reservation would be active.Offering.BuilderdurationUnits(String durationUnits)The unit of measurement for the duration of the offering.Offering.BuilderdurationUnits(DurationUnits durationUnits)The unit of measurement for the duration of the offering.Offering.BuilderofferingArn(String offeringArn)The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.Offering.BuilderofferingDescription(String offeringDescription)A description of the offering.Offering.BuilderpricePerUnit(String pricePerUnit)The cost of a single unit.Offering.BuilderpriceUnits(String priceUnits)The unit of measurement that is used for billing.Offering.BuilderpriceUnits(PriceUnits priceUnits)The unit of measurement that is used for billing.default Offering.BuilderresourceSpecification(Consumer<ResourceSpecification.Builder> resourceSpecification)A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.Offering.BuilderresourceSpecification(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 Detail
-
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,DurationUnits
-
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:
DurationUnits,DurationUnits
-
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,PriceUnits
-
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:
PriceUnits,PriceUnits
-
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 theResourceSpecification.Builderavoiding the need to create one manually viaResourceSpecification.builder().When the
Consumercompletes,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:
resourceSpecification(ResourceSpecification)
-
-