Interface CapacityReservationBillingRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityReservationBillingRequest.Builder,CapacityReservationBillingRequest>
,SdkBuilder<CapacityReservationBillingRequest.Builder,CapacityReservationBillingRequest>
,SdkPojo
- Enclosing class:
- CapacityReservationBillingRequest
public static interface CapacityReservationBillingRequest.Builder extends SdkPojo, CopyableBuilder<CapacityReservationBillingRequest.Builder,CapacityReservationBillingRequest>
-
-
Method Summary
-
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
-
capacityReservationId
CapacityReservationBillingRequest.Builder capacityReservationId(String 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
CapacityReservationBillingRequest.Builder requestedBy(String 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
CapacityReservationBillingRequest.Builder lastUpdateTime(Instant 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
CapacityReservationBillingRequest.Builder status(String 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:
CapacityReservationBillingRequestStatus
,CapacityReservationBillingRequestStatus
-
status
CapacityReservationBillingRequest.Builder status(CapacityReservationBillingRequestStatus 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:
CapacityReservationBillingRequestStatus
,CapacityReservationBillingRequestStatus
-
statusMessage
CapacityReservationBillingRequest.Builder statusMessage(String 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:
capacityReservationInfo(CapacityReservationInfo)
-
-