Interface EnableFastLaunchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<EnableFastLaunchResponse.Builder,EnableFastLaunchResponse>
,Ec2Response.Builder
,SdkBuilder<EnableFastLaunchResponse.Builder,EnableFastLaunchResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- EnableFastLaunchResponse
public static interface EnableFastLaunchResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableFastLaunchResponse.Builder,EnableFastLaunchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String resourceType)
The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.EnableFastLaunchResponse.Builder
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.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(String state)
The current state of faster launching for the specified Windows AMI.EnableFastLaunchResponse.Builder
state(FastLaunchStateCode 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.-
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 Detail
-
imageId
EnableFastLaunchResponse.Builder imageId(String 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
EnableFastLaunchResponse.Builder resourceType(String 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:
FastLaunchResourceType
,FastLaunchResourceType
-
resourceType
EnableFastLaunchResponse.Builder resourceType(FastLaunchResourceType 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:
FastLaunchResourceType
,FastLaunchResourceType
-
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:
snapshotConfiguration(FastLaunchSnapshotConfigurationResponse)
-
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:
launchTemplate(FastLaunchLaunchTemplateSpecificationResponse)
-
maxParallelLaunches
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.
- 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
EnableFastLaunchResponse.Builder ownerId(String 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
EnableFastLaunchResponse.Builder state(String 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:
FastLaunchStateCode
,FastLaunchStateCode
-
state
EnableFastLaunchResponse.Builder state(FastLaunchStateCode 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:
FastLaunchStateCode
,FastLaunchStateCode
-
stateTransitionReason
EnableFastLaunchResponse.Builder stateTransitionReason(String 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
EnableFastLaunchResponse.Builder stateTransitionTime(Instant 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.
-
-