Interface EnableFastLaunchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<EnableFastLaunchResponse.Builder,
,EnableFastLaunchResponse> Ec2Response.Builder
,SdkBuilder<EnableFastLaunchResponse.Builder,
,EnableFastLaunchResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
EnableFastLaunchResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe image ID that identifies the AMI for which Windows fast launch was enabled.default EnableFastLaunchResponse.Builder
launchTemplate
(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that is used when launching Windows instances from pre-provisioned snapshots.launchTemplate
(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that is used when launching 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 ID for the AMI for which Windows fast launch was enabled.resourceType
(String resourceType) The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.resourceType
(FastLaunchResourceType resourceType) The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.default EnableFastLaunchResponse.Builder
snapshotConfiguration
(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI.snapshotConfiguration
(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI.The current state of Windows fast launch for the specified AMI.state
(FastLaunchStateCode state) The current state of Windows fast launch for the specified AMI.stateTransitionReason
(String stateTransitionReason) The reason that the state changed for Windows fast launch for the AMI.stateTransitionTime
(Instant stateTransitionTime) The time that the state changed for Windows fast launch for the 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 image ID that identifies the AMI for which Windows fast launch was enabled.
- Parameters:
imageId
- The image ID that identifies the AMI for which Windows fast launch was enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
- Parameters:
resourceType
- The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
- Parameters:
resourceType
- The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snapshotConfiguration
EnableFastLaunchResponse.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI. This property is returned when the associated
resourceType
issnapshot
.- Parameters:
snapshotConfiguration
- Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI. This property is returned when the associatedresourceType
issnapshot
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default EnableFastLaunchResponse.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) Settings to create and manage the pre-provisioned snapshots that Amazon EC2 uses for faster launches from the Windows AMI. This property is returned when the associated
This is a convenience method that creates an instance of theresourceType
issnapshot
.FastLaunchSnapshotConfigurationResponse.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
EnableFastLaunchResponse.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that is used when launching Windows instances from pre-provisioned snapshots.
- Parameters:
launchTemplate
- The launch template that is used when launching Windows instances from pre-provisioned snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default EnableFastLaunchResponse.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that is used when launching 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 ID for the AMI for which Windows fast launch was enabled.
- Parameters:
ownerId
- The owner ID for the AMI for which Windows fast launch was enabled.- 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 AMI.
- Parameters:
state
- The current state of Windows fast launch for the specified 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 AMI.
- Parameters:
state
- The current state of Windows fast launch for the specified 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 AMI.
- Parameters:
stateTransitionReason
- The reason that the state changed for Windows fast launch for the 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 AMI.
- Parameters:
stateTransitionTime
- The time that the state changed for Windows fast launch for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-