public LoadBalancerTlsCertificate withKeyAlgorithm(String keyAlgorithm) {
        setKeyAlgorithm(keyAlgorithm);
        return this;
    }
<p>
The algorithm used to generate the key pair (the public and private key).
</p>

@param keyAlgorithm
       The algorithm used to generate the key pair (the public and private key).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancerTlsCertificate.java