public static interface EnableFastLaunchRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<EnableFastLaunchRequest.Builder,EnableFastLaunchRequest>
| Modifier and Type | Method and Description |
|---|---|
EnableFastLaunchRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
EnableFastLaunchRequest.Builder |
imageId(String imageId)
The ID of the image for which you’re enabling faster launching.
|
default EnableFastLaunchRequest.Builder |
launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationRequest.Builder> launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots.
|
EnableFastLaunchRequest.Builder |
launchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots.
|
EnableFastLaunchRequest.Builder |
maxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows faster launching.
|
EnableFastLaunchRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
EnableFastLaunchRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
EnableFastLaunchRequest.Builder |
resourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching.
|
default EnableFastLaunchRequest.Builder |
snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationRequest.Builder> snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows
AMI for faster launching.
|
EnableFastLaunchRequest.Builder |
snapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows
AMI for faster launching.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildEnableFastLaunchRequest.Builder imageId(String imageId)
The ID of the image for which you’re enabling faster launching.
imageId - The ID of the image for which you’re enabling faster launching.EnableFastLaunchRequest.Builder resourceType(String resourceType)
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values
include: snapshot, which is the default value.
resourceType - The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported
values include: snapshot, which is the default value.EnableFastLaunchRequest.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows
AMI for faster launching. The associated ResourceType must be snapshot.
snapshotConfiguration - Configuration settings for creating and managing the snapshots that are used for pre-provisioning the
Windows AMI for faster launching. The associated ResourceType must be
snapshot.default EnableFastLaunchRequest.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationRequest.Builder> snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows
AMI for faster launching. The associated ResourceType must be snapshot.
FastLaunchSnapshotConfigurationRequest.Builder avoiding the need to create one manually via
FastLaunchSnapshotConfigurationRequest.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
snapshotConfiguration(FastLaunchSnapshotConfigurationRequest).
snapshotConfiguration - a consumer that will call methods on FastLaunchSnapshotConfigurationRequest.BuildersnapshotConfiguration(FastLaunchSnapshotConfigurationRequest)EnableFastLaunchRequest.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
launchTemplate - The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch
template parameters can include either the name or ID of the launch template, but not both.default EnableFastLaunchRequest.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationRequest.Builder> launchTemplate)
The launch template to use when launching Windows instances from pre-provisioned snapshots. Launch template parameters can include either the name or ID of the launch template, but not both.
This is a convenience method that creates an instance of theFastLaunchLaunchTemplateSpecificationRequest.Builder avoiding the need to create one manually via
FastLaunchLaunchTemplateSpecificationRequest.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
launchTemplate(FastLaunchLaunchTemplateSpecificationRequest).
launchTemplate - a consumer that will call methods on FastLaunchLaunchTemplateSpecificationRequest.BuilderlaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest)EnableFastLaunchRequest.Builder maxParallelLaunches(Integer maxParallelLaunches)
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows faster launching. Value must be 6 or greater.
maxParallelLaunches - The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows faster launching. Value must be 6 or greater.EnableFastLaunchRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.EnableFastLaunchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderEnableFastLaunchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.