Interface CapacityReservation.Builder

    • Method Detail

      • name

        CapacityReservation.Builder name​(String name)

        The name of the capacity reservation.

        Parameters:
        name - The name of the capacity reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetDpus

        CapacityReservation.Builder targetDpus​(Integer targetDpus)

        The number of data processing units requested.

        Parameters:
        targetDpus - The number of data processing units requested.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allocatedDpus

        CapacityReservation.Builder allocatedDpus​(Integer allocatedDpus)

        The number of data processing units currently allocated.

        Parameters:
        allocatedDpus - The number of data processing units currently allocated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastAllocation

        CapacityReservation.Builder lastAllocation​(CapacityAllocation lastAllocation)
        Sets the value of the LastAllocation property for this object.
        Parameters:
        lastAllocation - The new value for the LastAllocation property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastSuccessfulAllocationTime

        CapacityReservation.Builder lastSuccessfulAllocationTime​(Instant lastSuccessfulAllocationTime)

        The time of the most recent capacity allocation that succeeded.

        Parameters:
        lastSuccessfulAllocationTime - The time of the most recent capacity allocation that succeeded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        CapacityReservation.Builder creationTime​(Instant creationTime)

        The time in UTC epoch millis when the capacity reservation was created.

        Parameters:
        creationTime - The time in UTC epoch millis when the capacity reservation was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.