Interface InstanceCollection.Builder

  • Method Details

    • instanceType

      InstanceCollection.Builder instanceType(String instanceType)

      The instance type of the launched instances.

      Parameters:
      instanceType - The instance type of the launched instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marketType

      InstanceCollection.Builder marketType(String marketType)

      The market type for the instances (On-Demand or Spot).

      Parameters:
      marketType - The market type for the instances (On-Demand or Spot).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetId

      InstanceCollection.Builder subnetId(String subnetId)

      The ID of the subnet where the instances were launched.

      Parameters:
      subnetId - The ID of the subnet where the instances were launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      InstanceCollection.Builder availabilityZone(String availabilityZone)

      The Availability Zone where the instances were launched.

      Parameters:
      availabilityZone - The Availability Zone where the instances were launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZoneId

      InstanceCollection.Builder availabilityZoneId(String availabilityZoneId)

      The Availability Zone ID where the instances in this collection were launched.

      Parameters:
      availabilityZoneId - The Availability Zone ID where the instances in this collection were launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      InstanceCollection.Builder instanceIds(Collection<String> instanceIds)

      A list of instance IDs for the successfully launched instances.

      Parameters:
      instanceIds - A list of instance IDs for the successfully launched instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIds

      InstanceCollection.Builder instanceIds(String... instanceIds)

      A list of instance IDs for the successfully launched instances.

      Parameters:
      instanceIds - A list of instance IDs for the successfully launched instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.