Interface ReservedCapacityOffering.Builder

    • Method Detail

      • instanceCount

        ReservedCapacityOffering.Builder instanceCount​(Integer instanceCount)

        The number of instances in the reserved capacity offering.

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

        ReservedCapacityOffering.Builder availabilityZone​(String availabilityZone)

        The availability zone for the reserved capacity offering.

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

        ReservedCapacityOffering.Builder durationHours​(Long durationHours)

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

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

        ReservedCapacityOffering.Builder durationMinutes​(Long durationMinutes)

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

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

        ReservedCapacityOffering.Builder startTime​(Instant startTime)

        The start time of the reserved capacity offering.

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

        ReservedCapacityOffering.Builder endTime​(Instant endTime)

        The end time of the reserved capacity offering.

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