Interface ReservedCapacitySummary.Builder

  • Method Details

    • 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.
    • instanceType

      ReservedCapacitySummary.Builder instanceType(String instanceType)

      The instance type for the reserved capacity.

      Parameters:
      instanceType - The instance type for the reserved capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      The instance type for the reserved capacity.

      Parameters:
      instanceType - The instance type for the reserved capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • status

      The current status of the reserved capacity.

      Parameters:
      status - The current status of the reserved capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the reserved capacity.

      Parameters:
      status - The current status of the reserved capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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.