Interface ReservedCapacitySummary.Builder

    • Method Detail

      • reservedCapacityArn

        ReservedCapacitySummary.Builder reservedCapacityArn​(String reservedCapacityArn)

        The Amazon Resource Name (ARN); of the reserved capacity.

        Parameters:
        reservedCapacityArn - The Amazon Resource Name (ARN); of the reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalInstanceCount

        ReservedCapacitySummary.Builder totalInstanceCount​(Integer totalInstanceCount)

        The total number of instances in the reserved capacity.

        Parameters:
        totalInstanceCount - The total number of instances in the reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        ReservedCapacitySummary.Builder availabilityZone​(String availabilityZone)

        The availability zone for the reserved capacity.

        Parameters:
        availabilityZone - The availability zone for the reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationHours

        ReservedCapacitySummary.Builder durationHours​(Long durationHours)

        The number of whole hours in the total duration for this reserved capacity.

        Parameters:
        durationHours - The number of whole hours in the total duration for this reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationMinutes

        ReservedCapacitySummary.Builder durationMinutes​(Long durationMinutes)

        The additional minutes beyond whole hours in the total duration for this reserved capacity.

        Parameters:
        durationMinutes - The additional minutes beyond whole hours in the total duration for this reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        ReservedCapacitySummary.Builder startTime​(Instant startTime)

        The start time of the reserved capacity.

        Parameters:
        startTime - The start time of the reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTime

        ReservedCapacitySummary.Builder endTime​(Instant endTime)

        The end time of the reserved capacity.

        Parameters:
        endTime - The end time of the reserved capacity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.