public void setKeyPairId(String keyPairId) {
        this.keyPairId = keyPairId;
    }
<p>
The ID of the key pair.
</p>

@param keyPairId
       The ID of the key pair.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/KeyPairInfo.java