Interface CapacityBlockOfferingSegment.Builder

  • Method Details

    • instanceType

      CapacityBlockOfferingSegment.Builder instanceType(String instanceType)

      The instance type of the Capacity Block offering segment.

      Parameters:
      instanceType - The instance type of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      CapacityBlockOfferingSegment.Builder availabilityZone(String availabilityZone)

      The Availability Zone of the Capacity Block offering segment.

      Parameters:
      availabilityZone - The Availability Zone of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      CapacityBlockOfferingSegment.Builder availabilityZoneId(String availabilityZoneId)

      The ID of the Availability Zone for the Capacity Block offering segment.

      Parameters:
      availabilityZoneId - The ID of the Availability Zone for the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceCount

      CapacityBlockOfferingSegment.Builder instanceCount(Integer instanceCount)

      The number of instances in the Capacity Block offering segment.

      Parameters:
      instanceCount - The number of instances in the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      The start date of the Capacity Block offering segment.

      Parameters:
      startDate - The start date of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      The end date of the Capacity Block offering segment.

      Parameters:
      endDate - The end date of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityBlockDurationHours

      CapacityBlockOfferingSegment.Builder capacityBlockDurationHours(Integer capacityBlockDurationHours)

      The number of hours for the duration of the Capacity Block offering segment.

      Parameters:
      capacityBlockDurationHours - The number of hours for the duration of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityBlockDurationMinutes

      CapacityBlockOfferingSegment.Builder capacityBlockDurationMinutes(Integer capacityBlockDurationMinutes)

      The number of minutes for the duration of the Capacity Block offering segment.

      Parameters:
      capacityBlockDurationMinutes - The number of minutes for the duration of the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontFee

      The total price to be paid up front for the Capacity Block offering segment.

      Parameters:
      upfrontFee - The total price to be paid up front for the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      CapacityBlockOfferingSegment.Builder currencyCode(String currencyCode)

      The currency of the payment for the Capacity Block offering segment.

      Parameters:
      currencyCode - The currency of the payment for the Capacity Block offering segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • zoneType

      The type of zone where the Capacity Block offering segment is available.

      Parameters:
      zoneType - The type of zone where the Capacity Block offering segment is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.