public void setKeyPair(String keyPair) {
        this.keyPair = keyPair;
    }
<p>
The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has
the SSH key.
</p>

@param keyPair
       The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no
       longer has the SSH key.
aws-java-sdk-opsworkscm/src/main/java/com/amazonaws/services/opsworkscm/model/RestoreServerRequest.java