Interface DescribeFastLaunchImagesSuccessItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DescribeFastLaunchImagesSuccessItem.Builder,
,DescribeFastLaunchImagesSuccessItem> SdkBuilder<DescribeFastLaunchImagesSuccessItem.Builder,
,DescribeFastLaunchImagesSuccessItem> SdkPojo
- Enclosing class:
DescribeFastLaunchImagesSuccessItem
-
Method Summary
Modifier and TypeMethodDescriptionThe image ID that identifies the Windows fast launch enabled image.launchTemplate
(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.launchTemplate
(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that the Windows fast launch enabled AMI uses when it launches 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 Windows fast launch enabled AMI.resourceType
(String resourceType) The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI.resourceType
(FastLaunchResourceType resourceType) The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI.snapshotConfiguration
(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.snapshotConfiguration
(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.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 Windows fast launch for the AMI changed to the current state.stateTransitionTime
(Instant stateTransitionTime) The time that Windows fast launch for the AMI changed to the current state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
imageId
The image ID that identifies the Windows fast launch enabled image.
- Parameters:
imageId
- The image ID that identifies the Windows fast launch enabled image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The resource type that Amazon EC2 uses for pre-provisioning 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 resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The resource type that Amazon EC2 uses for pre-provisioning 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
DescribeFastLaunchImagesSuccessItem.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration) A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.
- Parameters:
snapshotConfiguration
- A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default DescribeFastLaunchImagesSuccessItem.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration) A group of parameters that are used for pre-provisioning the associated Windows AMI using snapshots.
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
DescribeFastLaunchImagesSuccessItem.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate) The launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.
- Parameters:
launchTemplate
- The launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default DescribeFastLaunchImagesSuccessItem.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate) The launch template that the Windows fast launch enabled AMI uses when it launches 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 Windows fast launch enabled AMI.
- Parameters:
ownerId
- The owner ID for the Windows fast launch enabled AMI.- 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 Windows fast launch for the AMI changed to the current state.
- Parameters:
stateTransitionReason
- The reason that Windows fast launch for the AMI changed to the current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateTransitionTime
The time that Windows fast launch for the AMI changed to the current state.
- Parameters:
stateTransitionTime
- The time that Windows fast launch for the AMI changed to the current state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-