public void setSshKeyName(String sshKeyName) {
        this.sshKeyName = sshKeyName;
    }
<p>
The instance's Amazon EC2 key-pair name.
</p>

@param sshKeyName
       The instance's Amazon EC2 key-pair name.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java