Interface DisableFastLaunchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisableFastLaunchResponse.Builder,
,DisableFastLaunchResponse> Ec2Response.Builder
,SdkBuilder<DisableFastLaunchResponse.Builder,
,DisableFastLaunchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisableFastLaunchResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the image for which Windows fast launch was disabled.launchTemplate
(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that was used to launch Windows instances from pre-provisioned snapshots.launchTemplate
(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that was used to launch Windows instances from pre-provisioned snapshots.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.The owner of the Windows AMI for which Windows fast launch was disabled.resourceType
(String resourceType) The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI.resourceType
(FastLaunchResourceType resourceType) The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI.snapshotConfiguration
(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled.snapshotConfiguration
(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled.The current state of Windows fast launch for the specified Windows AMI.state
(FastLaunchStateCode state) The current state of Windows fast launch for the specified Windows AMI.stateTransitionReason
(String stateTransitionReason) The reason that the state changed for Windows fast launch for the Windows AMI.stateTransitionTime
(Instant stateTransitionTime) The time that the state changed for Windows fast launch for the Windows AMI.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
imageId
The ID of the image for which Windows fast launch was disabled.
- Parameters:
imageId
- The ID of the image for which Windows fast launch was disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include:snapshot
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include:snapshot
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshotConfiguration
DisableFastLaunchResponse.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
- Parameters:
snapshotConfiguration
- Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default DisableFastLaunchResponse.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
This is a convenience method that creates an instance of theFastLaunchSnapshotConfigurationResponse.Builder
avoiding the need to create one manually viaFastLaunchSnapshotConfigurationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotConfiguration(FastLaunchSnapshotConfigurationResponse)
.- Parameters:
snapshotConfiguration
- a consumer that will call methods onFastLaunchSnapshotConfigurationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchTemplate
DisableFastLaunchResponse.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that was used to launch Windows instances from pre-provisioned snapshots.
- Parameters:
launchTemplate
- The launch template that was used to launch Windows instances from pre-provisioned snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default DisableFastLaunchResponse.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that was used to launch Windows instances from pre-provisioned snapshots.
This is a convenience method that creates an instance of theFastLaunchLaunchTemplateSpecificationResponse.Builder
avoiding the need to create one manually viaFastLaunchLaunchTemplateSpecificationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse)
.- Parameters:
launchTemplate
- a consumer that will call methods onFastLaunchLaunchTemplateSpecificationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxParallelLaunches
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The owner of the Windows AMI for which Windows fast launch was disabled.
- Parameters:
ownerId
- The owner of the Windows AMI for which Windows fast launch was disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of Windows fast launch for the specified Windows AMI.
- Parameters:
state
- The current state of Windows fast launch for the specified Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of Windows fast launch for the specified Windows AMI.
- Parameters:
state
- The current state of Windows fast launch for the specified Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateTransitionReason
The reason that the state changed for Windows fast launch for the Windows AMI.
- Parameters:
stateTransitionReason
- The reason that the state changed for Windows fast launch for the Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitionTime
The time that the state changed for Windows fast launch for the Windows AMI.
- Parameters:
stateTransitionTime
- The time that the state changed for Windows fast launch for the Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-