public static interface CapacityReservation.Builder extends SdkPojo, CopyableBuilder<CapacityReservation.Builder,CapacityReservation>
| Modifier and Type | Method and Description |
|---|---|
CapacityReservation.Builder |
allocatedDpus(Integer allocatedDpus)
The number of data processing units currently allocated.
|
CapacityReservation.Builder |
creationTime(Instant creationTime)
The time in UTC epoch millis when the capacity reservation was created.
|
CapacityReservation.Builder |
lastAllocation(CapacityAllocation lastAllocation)
Sets the value of the LastAllocation property for this object.
|
default CapacityReservation.Builder |
lastAllocation(Consumer<CapacityAllocation.Builder> lastAllocation)
Sets the value of the LastAllocation property for this object.
|
CapacityReservation.Builder |
lastSuccessfulAllocationTime(Instant lastSuccessfulAllocationTime)
The time of the most recent capacity allocation that succeeded.
|
CapacityReservation.Builder |
name(String name)
The name of the capacity reservation.
|
CapacityReservation.Builder |
status(CapacityReservationStatus status)
The status of the capacity reservation.
|
CapacityReservation.Builder |
status(String status)
The status of the capacity reservation.
|
CapacityReservation.Builder |
targetDpus(Integer targetDpus)
The number of data processing units requested.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCapacityReservation.Builder name(String name)
The name of the capacity reservation.
name - The name of the capacity reservation.CapacityReservation.Builder status(String status)
The status of the capacity reservation.
status - The status of the capacity reservation.CapacityReservationStatus,
CapacityReservationStatusCapacityReservation.Builder status(CapacityReservationStatus status)
The status of the capacity reservation.
status - The status of the capacity reservation.CapacityReservationStatus,
CapacityReservationStatusCapacityReservation.Builder targetDpus(Integer targetDpus)
The number of data processing units requested.
targetDpus - The number of data processing units requested.CapacityReservation.Builder allocatedDpus(Integer allocatedDpus)
The number of data processing units currently allocated.
allocatedDpus - The number of data processing units currently allocated.CapacityReservation.Builder lastAllocation(CapacityAllocation lastAllocation)
lastAllocation - The new value for the LastAllocation property for this object.default CapacityReservation.Builder lastAllocation(Consumer<CapacityAllocation.Builder> lastAllocation)
CapacityAllocation.Builder avoiding the
need to create one manually via CapacityAllocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lastAllocation(CapacityAllocation).
lastAllocation - a consumer that will call methods on CapacityAllocation.BuilderlastAllocation(CapacityAllocation)CapacityReservation.Builder lastSuccessfulAllocationTime(Instant lastSuccessfulAllocationTime)
The time of the most recent capacity allocation that succeeded.
lastSuccessfulAllocationTime - The time of the most recent capacity allocation that succeeded.CapacityReservation.Builder creationTime(Instant creationTime)
The time in UTC epoch millis when the capacity reservation was created.
creationTime - The time in UTC epoch millis when the capacity reservation was created.Copyright © 2023. All rights reserved.