Interface CapacityReservationTopology.Builder

  • Method Details

    • capacityReservationId

      CapacityReservationTopology.Builder capacityReservationId(String capacityReservationId)

      The ID of the Capacity Reservation.

      Parameters:
      capacityReservationId - The ID of the Capacity Reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • capacityBlockId

      CapacityReservationTopology.Builder capacityBlockId(String capacityBlockId)

      The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.

      Parameters:
      capacityBlockId - The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.

      Parameters:
      state - The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      CapacityReservationTopology.Builder instanceType(String instanceType)

      The instance type.

      Parameters:
      instanceType - The instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupName

      The name of the placement group that the Capacity Reservation is in.

      Parameters:
      groupName - The name of the placement group that the Capacity Reservation is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkNodes

      The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

      The value is null or empty if:

      • The instance type is not supported.

      • The Capacity Reservation is in a state other than active or pending.

      Parameters:
      networkNodes - The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

      The value is null or empty if:

      • The instance type is not supported.

      • The Capacity Reservation is in a state other than active or pending.

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

      CapacityReservationTopology.Builder networkNodes(String... networkNodes)

      The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

      The value is null or empty if:

      • The instance type is not supported.

      • The Capacity Reservation is in a state other than active or pending.

      Parameters:
      networkNodes - The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

      The value is null or empty if:

      • The instance type is not supported.

      • The Capacity Reservation is in a state other than active or pending.

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

      CapacityReservationTopology.Builder availabilityZoneId(String availabilityZoneId)

      The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.

      Parameters:
      availabilityZoneId - The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      CapacityReservationTopology.Builder availabilityZone(String availabilityZone)

      The name of the Availability Zone or Local Zone that the Capacity Reservation is in.

      Parameters:
      availabilityZone - The name of the Availability Zone or Local Zone that the Capacity Reservation is in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.