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 faster-launching has been turned off.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 faster launching.The owner of the Windows AMI for which faster launching was turned off.resourceType
(String resourceType) The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.resourceType
(FastLaunchResourceType resourceType) The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.snapshotConfiguration
(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) Parameters that were used for faster launching for the Windows AMI before faster launching was turned off.snapshotConfiguration
(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) Parameters that were used for faster launching for the Windows AMI before faster launching was turned off.The current state of faster launching for the specified Windows AMI.state
(FastLaunchStateCode state) The current state of faster launching for the specified Windows AMI.stateTransitionReason
(String stateTransitionReason) The reason that the state changed for faster launching for the Windows AMI.stateTransitionTime
(Instant stateTransitionTime) The time that the state changed for faster launching 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 faster-launching has been turned off.
- Parameters:
imageId
- The ID of the image for which faster-launching has been turned off.- 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 faster launching for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off faster launching 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 faster launching for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off faster launching 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 faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
- Parameters:
snapshotConfiguration
- Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. 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 faster launching for the Windows AMI before faster launching was turned off. 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 faster launching.
- Parameters:
maxParallelLaunches
- The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The owner of the Windows AMI for which faster launching was turned off.
- Parameters:
ownerId
- The owner of the Windows AMI for which faster launching was turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of faster launching for the specified Windows AMI.
- Parameters:
state
- The current state of faster launching 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 faster launching for the specified Windows AMI.
- Parameters:
state
- The current state of faster launching 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 faster launching for the Windows AMI.
- Parameters:
stateTransitionReason
- The reason that the state changed for faster launching 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 faster launching for the Windows AMI.
- Parameters:
stateTransitionTime
- The time that the state changed for faster launching for the Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-