Interface FastLaunchConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FastLaunchConfiguration.Builder,,FastLaunchConfiguration> SdkBuilder<FastLaunchConfiguration.Builder,,FastLaunchConfiguration> SdkPojo
- Enclosing class:
FastLaunchConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe owner account ID for the fast-launch enabled Windows AMI.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.launchTemplate(FastLaunchLaunchTemplateSpecification launchTemplate) The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.maxParallelLaunches(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.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.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, sdkFields
-
Method Details
-
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:
-
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:
-
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.
-