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 Windows AMI for which faster launching 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 faster launching.The owner ID for the Windows AMI for which faster launching was enabled.resourceType
(String resourceType) The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.resourceType
(FastLaunchResourceType resourceType) The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.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 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 image ID that identifies the Windows AMI for which faster launching was enabled.
- Parameters:
imageId
- The image ID that identifies the Windows AMI for which faster launching 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 Windows AMI for faster launching.
- Parameters:
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.- 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 Windows AMI for faster launching.
- Parameters:
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.- 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 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 ID for the Windows AMI for which faster launching was enabled.
- Parameters:
ownerId
- The owner ID for the Windows AMI for which faster launching was enabled.- 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.
-