public String getDefaultSshKeyName() {
        return this.defaultSshKeyName;
    }
<p>
A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, OpsWorks installs
the public key on the instance and you can use the private key with an SSH client to log in to the instance. For
more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html">
Using SSH to Communicate with an Instance</a> and <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html"> Managing SSH Access</a>.
You can override this setting by specifying a different key pair, or no key pair, when you <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html"> create an instance</a>.
</p>

@return A default Amazon EC2 key pair name. The default value is none. If you specify a key pair name, OpsWorks
        installs the public key on the instance and you can use the private key with an SSH client to log in to
        the instance. For more information, see <a
        href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html"> Using SSH to
        Communicate with an Instance</a> and <a
        href="https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html"> Managing SSH
        Access</a>. You can override this setting by specifying a different key pair, or no key pair, when you <a
        href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html"> create an
        instance</a>.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateStackRequest.java