Interface DisableFastLaunchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>,Ec2Response.Builder,SdkBuilder<DisableFastLaunchResponse.Builder,DisableFastLaunchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisableFastLaunchResponse
@Mutable @NotThreadSafe 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.BuilderimageId(String imageId)The ID of the image for which Windows fast launch was disabled.default DisableFastLaunchResponse.BuilderlaunchTemplate(Consumer<FastLaunchLaunchTemplateSpecificationResponse.Builder> launchTemplate)The launch template that was used to launch Windows instances from pre-provisioned snapshots.DisableFastLaunchResponse.BuilderlaunchTemplate(FastLaunchLaunchTemplateSpecificationResponse launchTemplate)The launch template that was used to launch Windows instances from pre-provisioned snapshots.DisableFastLaunchResponse.BuildermaxParallelLaunches(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.DisableFastLaunchResponse.BuilderownerId(String ownerId)The owner of the Windows AMI for which Windows fast launch was disabled.DisableFastLaunchResponse.BuilderresourceType(String resourceType)The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI.DisableFastLaunchResponse.BuilderresourceType(FastLaunchResourceType resourceType)The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI.default DisableFastLaunchResponse.BuildersnapshotConfiguration(Consumer<FastLaunchSnapshotConfigurationResponse.Builder> snapshotConfiguration)Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled.DisableFastLaunchResponse.BuildersnapshotConfiguration(FastLaunchSnapshotConfigurationResponse snapshotConfiguration)Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled.DisableFastLaunchResponse.Builderstate(String state)The current state of Windows fast launch for the specified Windows AMI.DisableFastLaunchResponse.Builderstate(FastLaunchStateCode state)The current state of Windows fast launch for the specified Windows AMI.DisableFastLaunchResponse.BuilderstateTransitionReason(String stateTransitionReason)The reason that the state changed for Windows fast launch for the Windows AMI.DisableFastLaunchResponse.BuilderstateTransitionTime(Instant stateTransitionTime)The time that the state changed for Windows fast launch 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, sdkFieldNameToField, 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 Windows fast launch was disabled.
- Parameters:
imageId- The ID of the image for which Windows fast launch was disabled.- 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 Windows fast launch for the Windows AMI. Supported values include:
snapshot.- Parameters:
resourceType- The pre-provisioning resource type that must be cleaned after turning off Windows fast launch 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 Windows fast launch for the Windows AMI. Supported values include:
snapshot.- Parameters:
resourceType- The pre-provisioning resource type that must be cleaned after turning off Windows fast launch 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 Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
- Parameters:
snapshotConfiguration- Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. 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 Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
This is a convenience method that creates an instance of theFastLaunchSnapshotConfigurationResponse.Builderavoiding the need to create one manually viaFastLaunchSnapshotConfigurationResponse.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFastLaunchLaunchTemplateSpecificationResponse.builder().When the
Consumercompletes,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 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
DisableFastLaunchResponse.Builder ownerId(String ownerId)
The owner of the Windows AMI for which Windows fast launch was disabled.
- Parameters:
ownerId- The owner of the Windows AMI for which Windows fast launch was disabled.- 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 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:
FastLaunchStateCode,FastLaunchStateCode
-
state
DisableFastLaunchResponse.Builder state(FastLaunchStateCode 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:
FastLaunchStateCode,FastLaunchStateCode
-
stateTransitionReason
DisableFastLaunchResponse.Builder stateTransitionReason(String stateTransitionReason)
The reason that the state changed for Windows fast launch for the Windows AMI.
- Parameters:
stateTransitionReason- The reason that the state changed for Windows fast launch 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 Windows fast launch for the Windows AMI.
- Parameters:
stateTransitionTime- The time that the state changed for Windows fast launch for the Windows AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-