Interface DisableFastLaunchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>
,Ec2Response.Builder
,SdkBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DisableFastLaunchResponse
public static interface DisableFastLaunchResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DisableFastLaunchResponse.Builder
imageId(String imageId)
The ID of the image for which faster-launching has been turned off.default DisableFastLaunchResponse.Builder
launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate)
The launch template that was used to launch Windows instances from pre-provisioned snapshots.DisableFastLaunchResponse.Builder
launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that was used to launch Windows instances from pre-provisioned snapshots.DisableFastLaunchResponse.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.DisableFastLaunchResponse.Builder
ownerId(String ownerId)
The owner of the Windows AMI for which faster launching was turned off.DisableFastLaunchResponse.Builder
resourceType(String resourceType)
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.DisableFastLaunchResponse.Builder
resourceType(FastLaunchResourceType resourceType)
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI.default DisableFastLaunchResponse.Builder
snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration)
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off.DisableFastLaunchResponse.Builder
snapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off.DisableFastLaunchResponse.Builder
state(String state)
The current state of faster launching for the specified Windows AMI.DisableFastLaunchResponse.Builder
state(FastLaunchStateCode state)
The current state of faster launching for the specified Windows AMI.DisableFastLaunchResponse.Builder
stateTransitionReason(String stateTransitionReason)
The reason that the state changed for faster launching for the Windows AMI.DisableFastLaunchResponse.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
DisableFastLaunchResponse.Builder imageId(String imageId)
The ID of the image for which faster-launching has been turned off.
- Parameters:
imageId
- The ID of the image for which faster-launching has been turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
DisableFastLaunchResponse.Builder resourceType(String resourceType)
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include:snapshot
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FastLaunchResourceType
,FastLaunchResourceType
-
resourceType
DisableFastLaunchResponse.Builder resourceType(FastLaunchResourceType resourceType)
The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include:
snapshot
.- Parameters:
resourceType
- The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include:snapshot
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FastLaunchResourceType
,FastLaunchResourceType
-
snapshotConfiguration
DisableFastLaunchResponse.Builder snapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
- Parameters:
snapshotConfiguration
- Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotConfiguration
default DisableFastLaunchResponse.Builder snapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration)
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
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:
snapshotConfiguration(FastLaunchSnapshotConfigurationResponse)
-
launchTemplate
DisableFastLaunchResponse.Builder launchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)
The launch template that was used to launch Windows instances from pre-provisioned snapshots.
- Parameters:
launchTemplate
- The launch template that was used to launch Windows instances from pre-provisioned snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplate
default DisableFastLaunchResponse.Builder launchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate)
The launch template that was used to launch 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
DisableFastLaunchResponse.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
DisableFastLaunchResponse.Builder ownerId(String ownerId)
The owner of the Windows AMI for which faster launching was turned off.
- Parameters:
ownerId
- The owner of the Windows AMI for which faster launching was turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
DisableFastLaunchResponse.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
DisableFastLaunchResponse.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
DisableFastLaunchResponse.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
DisableFastLaunchResponse.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.
-
-