Interface UpdateLaunchConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateLaunchConfigurationResponse.Builder,
,UpdateLaunchConfigurationResponse> DrsResponse.Builder
,SdkBuilder<UpdateLaunchConfigurationResponse.Builder,
,UpdateLaunchConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateLaunchConfigurationResponse
-
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.ec2LaunchTemplateID
(String ec2LaunchTemplateID) The EC2 launch template ID of this launch configuration.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.postLaunchEnabled
(Boolean postLaunchEnabled) Whether we want to activate post-launch actions for the Source Server.sourceServerID
(String sourceServerID) The ID of the Source Server for this launch configuration.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.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 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.
-
ec2LaunchTemplateID
The EC2 launch template ID of this launch configuration.
- Parameters:
ec2LaunchTemplateID
- The EC2 launch template ID of this launch configuration.- 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
UpdateLaunchConfigurationResponse.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 UpdateLaunchConfigurationResponse.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 activate post-launch actions for the Source Server.
- Parameters:
postLaunchEnabled
- Whether we want to activate 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 for this launch configuration.
- Parameters:
sourceServerID
- The ID of the Source Server for this launch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceTypeRightSizingMethod
UpdateLaunchConfigurationResponse.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
UpdateLaunchConfigurationResponse.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:
-