Interface CapacityReservationBillingRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityReservationBillingRequest.Builder,
,CapacityReservationBillingRequest> SdkBuilder<CapacityReservationBillingRequest.Builder,
,CapacityReservationBillingRequest> SdkPojo
- Enclosing class:
CapacityReservationBillingRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationId
(String capacityReservationId) The ID of the Capacity Reservation.capacityReservationInfo
(Consumer<CapacityReservationInfo.Builder> capacityReservationInfo) Information about the Capacity Reservation.capacityReservationInfo
(CapacityReservationInfo capacityReservationInfo) Information about the Capacity Reservation.lastUpdateTime
(Instant lastUpdateTime) The date and time, in UTC time format, at which the request was initiated.requestedBy
(String requestedBy) The ID of the Amazon Web Services account that initiated the request.The status of the request.The status of the request.statusMessage
(String statusMessage) Information about the status.unusedReservationBillingOwnerId
(String unusedReservationBillingOwnerId) The ID of the Amazon Web Services account to which the request was sent.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
-
capacityReservationId
The ID of the Capacity Reservation.
- Parameters:
capacityReservationId
- The ID of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestedBy
The ID of the Amazon Web Services account that initiated the request.
- Parameters:
requestedBy
- The ID of the Amazon Web Services account that initiated the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unusedReservationBillingOwnerId
CapacityReservationBillingRequest.Builder unusedReservationBillingOwnerId(String unusedReservationBillingOwnerId) The ID of the Amazon Web Services account to which the request was sent.
- Parameters:
unusedReservationBillingOwnerId
- The ID of the Amazon Web Services account to which the request was sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The date and time, in UTC time format, at which the request was initiated.
- Parameters:
lastUpdateTime
- The date and time, in UTC time format, at which the request was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the request. For more information, see View billing assignment requests for a shared Amazon EC2 Capacity Reservation.
- Parameters:
status
- The status of the request. For more information, see View billing assignment requests for a shared Amazon EC2 Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the request. For more information, see View billing assignment requests for a shared Amazon EC2 Capacity Reservation.
- Parameters:
status
- The status of the request. For more information, see View billing assignment requests for a shared Amazon EC2 Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Information about the status.
- Parameters:
statusMessage
- Information about the status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationInfo
CapacityReservationBillingRequest.Builder capacityReservationInfo(CapacityReservationInfo capacityReservationInfo) Information about the Capacity Reservation.
- Parameters:
capacityReservationInfo
- Information about the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationInfo
default CapacityReservationBillingRequest.Builder capacityReservationInfo(Consumer<CapacityReservationInfo.Builder> capacityReservationInfo) Information about the Capacity Reservation.
This is a convenience method that creates an instance of theCapacityReservationInfo.Builder
avoiding the need to create one manually viaCapacityReservationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityReservationInfo(CapacityReservationInfo)
.- Parameters:
capacityReservationInfo
- a consumer that will call methods onCapacityReservationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-