Interface DescribeFleetsInstances.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DescribeFleetsInstances.Builder,DescribeFleetsInstances>,SdkBuilder<DescribeFleetsInstances.Builder,DescribeFleetsInstances>,SdkPojo
- Enclosing class:
- DescribeFleetsInstances
public static interface DescribeFleetsInstances.Builder extends SdkPojo, CopyableBuilder<DescribeFleetsInstances.Builder,DescribeFleetsInstances>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeFleetsInstances.BuilderinstanceIds(String... instanceIds)The IDs of the instances.DescribeFleetsInstances.BuilderinstanceIds(Collection<String> instanceIds)The IDs of the instances.DescribeFleetsInstances.BuilderinstanceType(String instanceType)The instance type.DescribeFleetsInstances.BuilderinstanceType(InstanceType instanceType)The instance type.default DescribeFleetsInstances.BuilderlaunchTemplateAndOverrides(Consumer<LaunchTemplateAndOverridesResponse.Builder> launchTemplateAndOverrides)The launch templates and overrides that were used for launching the instances.DescribeFleetsInstances.BuilderlaunchTemplateAndOverrides(LaunchTemplateAndOverridesResponse launchTemplateAndOverrides)The launch templates and overrides that were used for launching the instances.DescribeFleetsInstances.Builderlifecycle(String lifecycle)Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.DescribeFleetsInstances.Builderlifecycle(InstanceLifecycle lifecycle)Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.DescribeFleetsInstances.Builderplatform(String platform)The value isWindowsfor Windows instances.DescribeFleetsInstances.Builderplatform(PlatformValues platform)The value isWindowsfor Windows instances.-
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, sdkFields
-
-
-
-
Method Detail
-
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:
launchTemplateAndOverrides(LaunchTemplateAndOverridesResponse)
-
lifecycle
DescribeFleetsInstances.Builder lifecycle(String lifecycle)
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
- Parameters:
lifecycle- Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycle,InstanceLifecycle
-
lifecycle
DescribeFleetsInstances.Builder lifecycle(InstanceLifecycle lifecycle)
Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.
- Parameters:
lifecycle- Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceLifecycle,InstanceLifecycle
-
instanceIds
DescribeFleetsInstances.Builder instanceIds(Collection<String> 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
DescribeFleetsInstances.Builder instanceIds(String... 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
DescribeFleetsInstances.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.
- See Also:
InstanceType,InstanceType
-
instanceType
DescribeFleetsInstances.Builder instanceType(InstanceType 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,InstanceType
-
platform
DescribeFleetsInstances.Builder platform(String platform)
The value is
Windowsfor Windows instances. Otherwise, the value is blank.- Parameters:
platform- The value isWindowsfor Windows instances. Otherwise, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformValues,PlatformValues
-
platform
DescribeFleetsInstances.Builder platform(PlatformValues platform)
The value is
Windowsfor Windows instances. Otherwise, the value is blank.- Parameters:
platform- The value isWindowsfor Windows instances. Otherwise, the value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformValues,PlatformValues
-
-