Interface InstanceCollection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceCollection.Builder,,InstanceCollection> SdkBuilder<InstanceCollection.Builder,,InstanceCollection> SdkPojo
- Enclosing class:
InstanceCollection
@Mutable
@NotThreadSafe
public static interface InstanceCollection.Builder
extends SdkPojo, CopyableBuilder<InstanceCollection.Builder,InstanceCollection>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone where the instances were launched.availabilityZoneId(String availabilityZoneId) The Availability Zone ID where the instances in this collection were launched.instanceIds(String... instanceIds) A list of instance IDs for the successfully launched instances.instanceIds(Collection<String> instanceIds) A list of instance IDs for the successfully launched instances.instanceType(String instanceType) The instance type of the launched instances.marketType(String marketType) The market type for the instances (On-Demand or Spot).The ID of the subnet where the instances were launched.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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.
-