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
Modifier and TypeMethodDescriptioncurrencyCode
(String currencyCode) The type of currency that is used for billing.The length of time that this reservation is active.durationUnits
(String durationUnits) The unit of measurement for the duration of the reservation.durationUnits
(DurationUnits durationUnits) The unit of measurement for the duration of the reservation.The day and time that this reservation expires.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.reservationArn
(String reservationArn) The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.reservationName
(String reservationName) The name that you assigned to the reservation when you purchased the offering.reservationState
(String reservationState) The status of your reservation.reservationState
(ReservationState reservationState) The status of your reservation.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.resourceSpecification
(ResourceSpecification resourceSpecification) A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.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 Details
-
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
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
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
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:
-
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
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. 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
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
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
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:
-
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
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
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
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:
-
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.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:
-
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.
-