Interface Reservation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Reservation.Builder,Reservation>,SdkBuilder<Reservation.Builder,Reservation>,SdkPojo
- Enclosing class:
- Reservation
public static interface Reservation.Builder extends SdkPojo, CopyableBuilder<Reservation.Builder,Reservation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Reservation.BuildercurrencyCode(String currencyCode)The type of currency that is used for billing.Reservation.Builderduration(Integer duration)The length of time that this reservation is active.Reservation.BuilderdurationUnits(String durationUnits)The unit of measurement for the duration of the reservation.Reservation.BuilderdurationUnits(DurationUnits durationUnits)The unit of measurement for the duration of the reservation.Reservation.Builderend(String end)The day and time that this reservation expires.Reservation.BuilderofferingArn(String offeringArn)The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.Reservation.BuilderofferingDescription(String offeringDescription)A description of the offering.Reservation.BuilderpricePerUnit(String pricePerUnit)The cost of a single unit.Reservation.BuilderpriceUnits(String priceUnits)The unit of measurement that is used for billing.Reservation.BuilderpriceUnits(PriceUnits priceUnits)The unit of measurement that is used for billing.Reservation.BuilderreservationArn(String reservationArn)The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.Reservation.BuilderreservationName(String reservationName)The name that you assigned to the reservation when you purchased the offering.Reservation.BuilderreservationState(String reservationState)The status of your reservation.Reservation.BuilderreservationState(ReservationState reservationState)The status of your reservation.default Reservation.BuilderresourceSpecification(Consumer<ResourceSpecification.Builder> resourceSpecification)A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.Reservation.BuilderresourceSpecification(ResourceSpecification resourceSpecification)A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.Reservation.Builderstart(String start)The day and time that the reservation becomes active.-
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
Reservation.Builder currencyCode(String currencyCode)
The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.- Parameters:
currencyCode- The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
Reservation.Builder duration(Integer duration)
The length of time that this reservation is active. MediaConnect defines this value in the offering.- Parameters:
duration- The length of time that this reservation is active. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationUnits
Reservation.Builder durationUnits(String durationUnits)
The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.- Parameters:
durationUnits- The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DurationUnits,DurationUnits
-
durationUnits
Reservation.Builder durationUnits(DurationUnits durationUnits)
The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.- Parameters:
durationUnits- The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DurationUnits,DurationUnits
-
end
Reservation.Builder end(String end)
The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.- Parameters:
end- The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringArn
Reservation.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
Reservation.Builder offeringDescription(String offeringDescription)
A description of the offering. MediaConnect defines this value in the offering.- Parameters:
offeringDescription- A description of the offering. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricePerUnit
Reservation.Builder pricePerUnit(String pricePerUnit)
The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.- Parameters:
pricePerUnit- The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceUnits
Reservation.Builder priceUnits(String priceUnits)
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.- Parameters:
priceUnits- The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PriceUnits,PriceUnits
-
priceUnits
Reservation.Builder priceUnits(PriceUnits priceUnits)
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.- Parameters:
priceUnits- The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PriceUnits,PriceUnits
-
reservationArn
Reservation.Builder reservationArn(String reservationArn)
The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.- Parameters:
reservationArn- The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationName
Reservation.Builder reservationName(String reservationName)
The name that you assigned to the reservation when you purchased the offering.- Parameters:
reservationName- The name that you assigned to the reservation when you purchased the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationState
Reservation.Builder reservationState(String reservationState)
The status of your reservation.- Parameters:
reservationState- The status of your reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReservationState,ReservationState
-
reservationState
Reservation.Builder reservationState(ReservationState reservationState)
The status of your reservation.- Parameters:
reservationState- The status of your reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReservationState,ReservationState
-
resourceSpecification
Reservation.Builder resourceSpecification(ResourceSpecification resourceSpecification)
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.- Parameters:
resourceSpecification- A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default Reservation.Builder resourceSpecification(Consumer<ResourceSpecification.Builder> resourceSpecification)
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in 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)
-
start
Reservation.Builder start(String start)
The day and time that the reservation becomes active. You set this value when you purchase the offering.- Parameters:
start- The day and time that the reservation becomes active. You set this value when you purchase the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-