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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceCollection.BuilderavailabilityZone(String availabilityZone)The Availability Zone where the instances were launched.InstanceCollection.BuilderavailabilityZoneId(String availabilityZoneId)The Availability Zone ID where the instances in this collection were launched.InstanceCollection.BuilderinstanceIds(String... instanceIds)A list of instance IDs for the successfully launched instances.InstanceCollection.BuilderinstanceIds(Collection<String> instanceIds)A list of instance IDs for the successfully launched instances.InstanceCollection.BuilderinstanceType(String instanceType)The instance type of the launched instances.InstanceCollection.BuildermarketType(String marketType)The market type for the instances (On-Demand or Spot).InstanceCollection.BuildersubnetId(String subnetId)The ID of the subnet where the instances were launched.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
-