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

@param sshKeyName
       The instance's Amazon EC2 key-pair name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java