public static interface EnableFastLaunchResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableFastLaunchResponse.Builder,EnableFastLaunchResponse>
Modifier and Type | Method and Description |
---|---|
EnableFastLaunchResponse.Builder |
imageId(String imageId)
The 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.
|
EnableFastLaunchResponse.Builder |
launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
|
EnableFastLaunchResponse.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 faster launching.
|
EnableFastLaunchResponse.Builder |
ownerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
|
EnableFastLaunchResponse.Builder |
resourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
|
EnableFastLaunchResponse.Builder |
resourceType(String 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.
|
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.
|
EnableFastLaunchResponse.Builder |
state(FastLaunchStateCode state)
The current state of faster launching for the specified Windows AMI.
|
EnableFastLaunchResponse.Builder |
state(String state)
The current state of faster launching for the specified Windows AMI.
|
EnableFastLaunchResponse.Builder |
stateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
|
EnableFastLaunchResponse.Builder |
stateTransitionTime(Instant stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
EnableFastLaunchResponse.Builder imageId(String imageId)
The image ID that identifies the Windows AMI for which faster launching was enabled.
imageId
- The image ID that identifies the Windows AMI for which faster launching was enabled.EnableFastLaunchResponse.Builder resourceType(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.FastLaunchResourceType
,
FastLaunchResourceType
EnableFastLaunchResponse.Builder resourceType(FastLaunchResourceType resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
resourceType
- The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.FastLaunchResourceType
,
FastLaunchResourceType
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
is snapshot
.
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
is
snapshot
.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 resourceType
is snapshot
.
FastLaunchSnapshotConfigurationResponse.Builder
avoiding the need to create one manually via
FastLaunchSnapshotConfigurationResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
snapshotConfiguration(FastLaunchSnapshotConfigurationResponse)
.
snapshotConfiguration
- a consumer that will call methods on FastLaunchSnapshotConfigurationResponse.Builder
snapshotConfiguration(FastLaunchSnapshotConfigurationResponse)
EnableFastLaunchResponse.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that is used when launching Windows instances from pre-provisioned snapshots.
launchTemplate
- The launch template that is used when launching Windows instances from pre-provisioned snapshots.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 via
FastLaunchLaunchTemplateSpecificationResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to
launchTemplate(FastLaunchLaunchTemplateSpecificationResponse)
.
launchTemplate
- a consumer that will call methods on FastLaunchLaunchTemplateSpecificationResponse.Builder
launchTemplate(FastLaunchLaunchTemplateSpecificationResponse)
EnableFastLaunchResponse.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 faster launching.
maxParallelLaunches
- The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned
snapshots for Windows faster launching.EnableFastLaunchResponse.Builder ownerId(String ownerId)
The owner ID for the Windows AMI for which faster launching was enabled.
ownerId
- The owner ID for the Windows AMI for which faster launching was enabled.EnableFastLaunchResponse.Builder state(String state)
The current state of faster launching for the specified Windows AMI.
state
- The current state of faster launching for the specified Windows AMI.FastLaunchStateCode
,
FastLaunchStateCode
EnableFastLaunchResponse.Builder state(FastLaunchStateCode state)
The current state of faster launching for the specified Windows AMI.
state
- The current state of faster launching for the specified Windows AMI.FastLaunchStateCode
,
FastLaunchStateCode
EnableFastLaunchResponse.Builder stateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.
stateTransitionReason
- The reason that the state changed for faster launching for the Windows AMI.EnableFastLaunchResponse.Builder stateTransitionTime(Instant stateTransitionTime)
The time that the state changed for faster launching for the Windows AMI.
stateTransitionTime
- The time that the state changed for faster launching for the Windows AMI.Copyright © 2023. All rights reserved.