public void setKeyPairName(String keyPairName) {
        this.keyPairName = keyPairName;
    }
<p>
The name of your key pair.
</p>

@param keyPairName
       The name of your key pair.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/CreateInstancesRequest.java