Interface GetLaunchConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>,DrsResponse.Builder,SdkBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLaunchConfigurationResponse
public static interface GetLaunchConfigurationResponse.Builder extends DrsResponse.Builder, SdkPojo, CopyableBuilder<GetLaunchConfigurationResponse.Builder,GetLaunchConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetLaunchConfigurationResponse.BuildercopyPrivateIp(Boolean copyPrivateIp)Whether we should copy the Private IP of the Source Server to the Recovery Instance.GetLaunchConfigurationResponse.BuildercopyTags(Boolean copyTags)Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.GetLaunchConfigurationResponse.Builderec2LaunchTemplateID(String ec2LaunchTemplateID)The EC2 launch template ID of this launch configuration.GetLaunchConfigurationResponse.BuilderlaunchDisposition(String launchDisposition)The state of the Recovery Instance in EC2 after the recovery operation.GetLaunchConfigurationResponse.BuilderlaunchDisposition(LaunchDisposition launchDisposition)The state of the Recovery Instance in EC2 after the recovery operation.default GetLaunchConfigurationResponse.BuilderlaunchIntoInstanceProperties(Consumer<LaunchIntoInstanceProperties.Builder> launchIntoInstanceProperties)Launch into existing instance properties.GetLaunchConfigurationResponse.BuilderlaunchIntoInstanceProperties(LaunchIntoInstanceProperties launchIntoInstanceProperties)Launch into existing instance properties.default GetLaunchConfigurationResponse.Builderlicensing(Consumer<Licensing.Builder> licensing)The licensing configuration to be used for this launch configuration.GetLaunchConfigurationResponse.Builderlicensing(Licensing licensing)The licensing configuration to be used for this launch configuration.GetLaunchConfigurationResponse.Buildername(String name)The name of the launch configuration.GetLaunchConfigurationResponse.BuilderpostLaunchEnabled(Boolean postLaunchEnabled)Whether we want to activate post-launch actions for the Source Server.GetLaunchConfigurationResponse.BuildersourceServerID(String sourceServerID)The ID of the Source Server for this launch configuration.GetLaunchConfigurationResponse.BuildertargetInstanceTypeRightSizingMethod(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.GetLaunchConfigurationResponse.BuildertargetInstanceTypeRightSizingMethod(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 Detail
-
copyPrivateIp
GetLaunchConfigurationResponse.Builder copyPrivateIp(Boolean 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
GetLaunchConfigurationResponse.Builder copyTags(Boolean 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
GetLaunchConfigurationResponse.Builder ec2LaunchTemplateID(String 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
GetLaunchConfigurationResponse.Builder launchDisposition(String 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,LaunchDisposition
-
launchDisposition
GetLaunchConfigurationResponse.Builder launchDisposition(LaunchDisposition 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,LaunchDisposition
-
launchIntoInstanceProperties
GetLaunchConfigurationResponse.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 GetLaunchConfigurationResponse.Builder launchIntoInstanceProperties(Consumer<LaunchIntoInstanceProperties.Builder> launchIntoInstanceProperties)
Launch into existing instance properties.
This is a convenience method that creates an instance of theLaunchIntoInstanceProperties.Builderavoiding the need to create one manually viaLaunchIntoInstanceProperties.builder().When the
Consumercompletes,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:
launchIntoInstanceProperties(LaunchIntoInstanceProperties)
-
licensing
GetLaunchConfigurationResponse.Builder licensing(Licensing 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
default GetLaunchConfigurationResponse.Builder licensing(Consumer<Licensing.Builder> licensing)
The licensing configuration to be used for this launch configuration.
This is a convenience method that creates an instance of theLicensing.Builderavoiding the need to create one manually viaLicensing.builder().When the
Consumercompletes,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:
licensing(Licensing)
-
name
GetLaunchConfigurationResponse.Builder name(String 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
GetLaunchConfigurationResponse.Builder postLaunchEnabled(Boolean 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
GetLaunchConfigurationResponse.Builder sourceServerID(String 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
GetLaunchConfigurationResponse.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,TargetInstanceTypeRightSizingMethod
-
targetInstanceTypeRightSizingMethod
GetLaunchConfigurationResponse.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:
TargetInstanceTypeRightSizingMethod,TargetInstanceTypeRightSizingMethod
-
-