public UpdateLaunchConfigurationResult withTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod) {
        this.targetInstanceTypeRightSizingMethod = targetInstanceTypeRightSizingMethod.toString();
        return this;
    }
<p>
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS,
CPU, and RAM of your Source Server.
</p>

@param 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.
@return Returns a reference to this object so that method calls can be chained together.
@see TargetInstanceTypeRightSizingMethod
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/UpdateLaunchConfigurationResult.java