Interface UpdateLaunchConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLaunchConfigurationRequest.Builder,
,UpdateLaunchConfigurationRequest> DrsRequest.Builder
,SdkBuilder<UpdateLaunchConfigurationRequest.Builder,
,UpdateLaunchConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLaunchConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncopyPrivateIp
(Boolean copyPrivateIp) Whether we should copy the Private IP of the Source Server to the Recovery Instance.Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.launchDisposition
(String launchDisposition) The state of the Recovery Instance in EC2 after the recovery operation.launchDisposition
(LaunchDisposition launchDisposition) The state of the Recovery Instance in EC2 after the recovery operation.launchIntoInstanceProperties
(Consumer<LaunchIntoInstanceProperties.Builder> launchIntoInstanceProperties) Launch into existing instance properties.launchIntoInstanceProperties
(LaunchIntoInstanceProperties launchIntoInstanceProperties) Launch into existing instance properties.licensing
(Consumer<Licensing.Builder> licensing) The licensing configuration to be used for this launch configuration.The licensing configuration to be used for this launch configuration.The name of the launch configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.postLaunchEnabled
(Boolean postLaunchEnabled) Whether we want to enable post-launch actions for the Source Server.sourceServerID
(String sourceServerID) The ID of the Source Server that we want to retrieve a Launch Configuration for.targetInstanceTypeRightSizingMethod
(String targetInstanceTypeRightSizingMethod) Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.targetInstanceTypeRightSizingMethod
(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod) Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
copyPrivateIp
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
- Parameters:
copyPrivateIp
- Whether we should copy the Private IP of the Source Server to the Recovery Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTags
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
- Parameters:
copyTags
- Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchDisposition
The state of the Recovery Instance in EC2 after the recovery operation.
- Parameters:
launchDisposition
- The state of the Recovery Instance in EC2 after the recovery operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchDisposition
The state of the Recovery Instance in EC2 after the recovery operation.
- Parameters:
launchDisposition
- The state of the Recovery Instance in EC2 after the recovery operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchIntoInstanceProperties
UpdateLaunchConfigurationRequest.Builder launchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties) Launch into existing instance properties.
- Parameters:
launchIntoInstanceProperties
- Launch into existing instance properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchIntoInstanceProperties
default UpdateLaunchConfigurationRequest.Builder launchIntoInstanceProperties(Consumer<LaunchIntoInstanceProperties.Builder> launchIntoInstanceProperties) Launch into existing instance properties.
This is a convenience method that creates an instance of theLaunchIntoInstanceProperties.Builder
avoiding the need to create one manually viaLaunchIntoInstanceProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolaunchIntoInstanceProperties(LaunchIntoInstanceProperties)
.- Parameters:
launchIntoInstanceProperties
- a consumer that will call methods onLaunchIntoInstanceProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
licensing
The licensing configuration to be used for this launch configuration.
- Parameters:
licensing
- The licensing configuration to be used for this launch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licensing
The licensing configuration to be used for this launch configuration.
This is a convenience method that creates an instance of theLicensing.Builder
avoiding the need to create one manually viaLicensing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicensing(Licensing)
.- Parameters:
licensing
- a consumer that will call methods onLicensing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the launch configuration.
- Parameters:
name
- The name of the launch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postLaunchEnabled
Whether we want to enable post-launch actions for the Source Server.
- Parameters:
postLaunchEnabled
- Whether we want to enable post-launch actions for the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceServerID
The ID of the Source Server that we want to retrieve a Launch Configuration for.
- Parameters:
sourceServerID
- The ID of the Source Server that we want to retrieve a Launch Configuration for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceTypeRightSizingMethod
UpdateLaunchConfigurationRequest.Builder targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
- Parameters:
targetInstanceTypeRightSizingMethod
- Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetInstanceTypeRightSizingMethod
UpdateLaunchConfigurationRequest.Builder targetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod) Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
- Parameters:
targetInstanceTypeRightSizingMethod
- Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLaunchConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLaunchConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-