public void setDefaultSshKeyName(String defaultSshKeyName) {
        this.defaultSshKeyName = defaultSshKeyName;
    }
<p>
A default Amazon EC2 key-pair name. The default value is <code>none</code>. If you specify a key-pair name,
OpsWorks Stacks 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>

@param defaultSshKeyName
       A default Amazon EC2 key-pair name. The default value is <code>none</code>. If you specify a key-pair
       name, OpsWorks Stacks 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/UpdateStackRequest.java