Interface EnableFastLaunchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<EnableFastLaunchRequest.Builder,EnableFastLaunchRequest>,Ec2Request.Builder,SdkBuilder<EnableFastLaunchRequest.Builder,EnableFastLaunchRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- EnableFastLaunchRequest
public static interface EnableFastLaunchRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<EnableFastLaunchRequest.Builder,EnableFastLaunchRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EnableFastLaunchRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.EnableFastLaunchRequest.BuilderimageId(String imageId)Specify the ID of the image for which to enable Windows fast launch.default EnableFastLaunchRequest.BuilderlaunchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationRequest.Builder> launchTemplate)The launch template to use when launching Windows instances from pre-provisioned snapshots.EnableFastLaunchRequest.BuilderlaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest launchTemplate)The launch template to use when launching Windows instances from pre-provisioned snapshots.EnableFastLaunchRequest.BuildermaxParallelLaunches(Integer maxParallelLaunches)The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.EnableFastLaunchRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)EnableFastLaunchRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)EnableFastLaunchRequest.BuilderresourceType(String resourceType)The type of resource to use for pre-provisioning the AMI for Windows fast launch.default EnableFastLaunchRequest.BuildersnapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationRequest.Builder> snapshotConfiguration)Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch.EnableFastLaunchRequest.BuildersnapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
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
-
imageId
EnableFastLaunchRequest.Builder imageId(String imageId)
Specify the ID of the image for which to enable Windows fast launch.
- Parameters:
imageId- Specify the ID of the image for which to enable Windows fast launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
EnableFastLaunchRequest.Builder resourceType(String resourceType)
The type of resource to use for pre-provisioning the AMI for Windows fast launch. Supported values include:
snapshot, which is the default value.- Parameters:
resourceType- The type of resource to use for pre-provisioning the AMI for Windows fast launch. Supported values include:snapshot, which is the default value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
EnableFastLaunchRequest.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationRequest snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associated
ResourceTypemust besnapshot.- Parameters:
snapshotConfiguration- Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associatedResourceTypemust besnapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default EnableFastLaunchRequest.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationRequest.Builder> snapshotConfiguration)
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associated
This is a convenience method that creates an instance of theResourceTypemust besnapshot.FastLaunchSnapshotConfigurationRequest.Builderavoiding the need to create one manually viaFastLaunchSnapshotConfigurationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnapshotConfiguration(FastLaunchSnapshotConfigurationRequest).- Parameters:
snapshotConfiguration- a consumer that will call methods onFastLaunchSnapshotConfigurationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snapshotConfiguration(FastLaunchSnapshotConfigurationRequest)
-
launchTemplate
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
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.Builderavoiding the need to create one manually viaFastLaunchLaunchTemplateSpecificationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplate(FastLaunchLaunchTemplateSpecificationRequest).- Parameters:
launchTemplate- a consumer that will call methods onFastLaunchLaunchTemplateSpecificationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplate(FastLaunchLaunchTemplateSpecificationRequest)
-
maxParallelLaunches
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 fast launch. Value must be
6or greater.- Parameters:
maxParallelLaunches- The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch. Value must be6or greater.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
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 isUnauthorizedOperation.- Parameters:
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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableFastLaunchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
EnableFastLaunchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-