Interface FastLaunchConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FastLaunchConfiguration.Builder,FastLaunchConfiguration>,SdkBuilder<FastLaunchConfiguration.Builder,FastLaunchConfiguration>,SdkPojo
- Enclosing class:
- FastLaunchConfiguration
public static interface FastLaunchConfiguration.Builder extends SdkPojo, CopyableBuilder<FastLaunchConfiguration.Builder,FastLaunchConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FastLaunchConfiguration.BuilderaccountId(String accountId)The owner account ID for the fast-launch enabled Windows AMI.FastLaunchConfiguration.Builderenabled(Boolean enabled)A Boolean that represents the current state of faster launching for the Windows AMI.default FastLaunchConfiguration.BuilderlaunchTemplate(Consumer<FastLaunchLaunchTemplateSpecification.Builder> launchTemplate)The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.FastLaunchConfiguration.BuilderlaunchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.FastLaunchConfiguration.BuildermaxParallelLaunches(Integer maxParallelLaunches)The maximum number of parallel instances that are launched for creating resources.default FastLaunchConfiguration.BuildersnapshotConfiguration(Consumer<FastLaunchSnapshotConfiguration.Builder> snapshotConfiguration)Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.FastLaunchConfiguration.BuildersnapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.-
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
-
enabled
FastLaunchConfiguration.Builder enabled(Boolean enabled)
A Boolean that represents the current state of faster launching for the Windows AMI. Set to
trueto start using Windows faster launching, orfalseto stop using it.- Parameters:
enabled- A Boolean that represents the current state of faster launching for the Windows AMI. Set totrueto start using Windows faster launching, orfalseto stop using it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
FastLaunchConfiguration.Builder snapshotConfiguration(FastLaunchSnapshotConfiguration snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
- Parameters:
snapshotConfiguration- Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default FastLaunchConfiguration.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfiguration.Builder> snapshotConfiguration)
Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
This is a convenience method that creates an instance of theFastLaunchSnapshotConfiguration.Builderavoiding the need to create one manually viaFastLaunchSnapshotConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotConfiguration(FastLaunchSnapshotConfiguration).- Parameters:
snapshotConfiguration- a consumer that will call methods onFastLaunchSnapshotConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snapshotConfiguration(FastLaunchSnapshotConfiguration)
-
maxParallelLaunches
FastLaunchConfiguration.Builder maxParallelLaunches(Integer maxParallelLaunches)
The maximum number of parallel instances that are launched for creating resources.
- Parameters:
maxParallelLaunches- The maximum number of parallel instances that are launched for creating resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
FastLaunchConfiguration.Builder launchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
- Parameters:
launchTemplate- The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default FastLaunchConfiguration.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecification.Builder> launchTemplate)
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
This is a convenience method that creates an instance of theFastLaunchLaunchTemplateSpecification.Builderavoiding the need to create one manually viaFastLaunchLaunchTemplateSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplate(FastLaunchLaunchTemplateSpecification).- Parameters:
launchTemplate- a consumer that will call methods onFastLaunchLaunchTemplateSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplate(FastLaunchLaunchTemplateSpecification)
-
accountId
FastLaunchConfiguration.Builder accountId(String accountId)
The owner account ID for the fast-launch enabled Windows AMI.
- Parameters:
accountId- The owner account ID for the fast-launch enabled Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-