Interface DescribeFleetsInstances.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DescribeFleetsInstances.Builder,,DescribeFleetsInstances> SdkBuilder<DescribeFleetsInstances.Builder,,DescribeFleetsInstances> SdkPojo
- Enclosing class:
DescribeFleetsInstances
-
Method Summary
Modifier and TypeMethodDescriptioninstanceIds(String... instanceIds) The IDs of the instances.instanceIds(Collection<String> instanceIds) The IDs of the instances.instanceType(String instanceType) The instance type.instanceType(InstanceType instanceType) The instance type.default DescribeFleetsInstances.BuilderlaunchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides) The launch templates and overrides that were used for launching the instances.launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides) The launch templates and overrides that were used for launching the instances.Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.lifecycle(InstanceLifecycle lifecycle) Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.The value iswindowsfor Windows instances in an EC2 Fleet.platform(PlatformValues platform) The value iswindowsfor Windows instances in an EC2 Fleet.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
-
launchTemplateAndOverrides
DescribeFleetsInstances.Builder launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides) The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
- Parameters:
launchTemplateAndOverrides- The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateAndOverrides
default DescribeFleetsInstances.Builder launchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides) The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
This is a convenience method that creates an instance of theLaunchTemplateAndOverridesResponse.Builderavoiding the need to create one manually viaLaunchTemplateAndOverridesResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse).- Parameters:
launchTemplateAndOverrides- a consumer that will call methods onLaunchTemplateAndOverridesResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycle
Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.
- Parameters:
lifecycle- Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycle
Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.
- Parameters:
lifecycle- Indicates if the instance that was launched is a Spot, On-Demand, Capacity Block for ML, or interruptible Capacity Reservation instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceIds
The IDs of the instances.
- Parameters:
instanceIds- The IDs of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
The IDs of the instances.
- Parameters:
instanceIds- The IDs of the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The value is
windowsfor Windows instances in an EC2 Fleet. Otherwise, the value is blank.- Parameters:
platform- The value iswindowsfor Windows instances in an EC2 Fleet. Otherwise, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The value is
windowsfor Windows instances in an EC2 Fleet. Otherwise, the value is blank.- Parameters:
platform- The value iswindowsfor Windows instances in an EC2 Fleet. Otherwise, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-