Interface CapacityBlockExtensionOffering.Builder

  • Method Details

    • capacityBlockExtensionOfferingId

      CapacityBlockExtensionOffering.Builder capacityBlockExtensionOfferingId(String capacityBlockExtensionOfferingId)

      The ID of the Capacity Block extension offering.

      Parameters:
      capacityBlockExtensionOfferingId - The ID of the Capacity Block extension offering.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      CapacityBlockExtensionOffering.Builder instanceType(String instanceType)

      The instance type of the Capacity Block that will be extended.

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

      CapacityBlockExtensionOffering.Builder instanceCount(Integer instanceCount)

      The number of instances in the Capacity Block extension offering.

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

      CapacityBlockExtensionOffering.Builder availabilityZone(String availabilityZone)

      The Availability Zone of the Capacity Block that will be extended.

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

      CapacityBlockExtensionOffering.Builder availabilityZoneId(String availabilityZoneId)

      The Availability Zone ID of the Capacity Block that will be extended.

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

      The start date of the Capacity Block that will be extended.

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

      CapacityBlockExtensionOffering.Builder capacityBlockExtensionStartDate(Instant capacityBlockExtensionStartDate)

      The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.

      Parameters:
      capacityBlockExtensionStartDate - The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityBlockExtensionEndDate

      CapacityBlockExtensionOffering.Builder capacityBlockExtensionEndDate(Instant capacityBlockExtensionEndDate)

      The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to expired when it reaches its end date

      Parameters:
      capacityBlockExtensionEndDate - The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to expired when it reaches its end date
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityBlockExtensionDurationHours

      CapacityBlockExtensionOffering.Builder capacityBlockExtensionDurationHours(Integer capacityBlockExtensionDurationHours)

      The amount of time of the Capacity Block extension offering in hours.

      Parameters:
      capacityBlockExtensionDurationHours - The amount of time of the Capacity Block extension offering in hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upfrontFee

      The total price of the Capacity Block extension offering, to be paid up front.

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

      CapacityBlockExtensionOffering.Builder currencyCode(String currencyCode)

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

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

      Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

      • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

      • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

      Parameters:
      tenancy - Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

      • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

      • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tenancy

      Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

      • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

      • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

      Parameters:
      tenancy - Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

      • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

      • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: