public void setKeyPairIds(java.util.Collection<String> keyPairIds) {
        if (keyPairIds == null) {
            this.keyPairIds = null;
            return;
        }

        this.keyPairIds = new com.amazonaws.internal.SdkInternalList<String>(keyPairIds);
    }
<p>
The IDs of the key pairs.
</p>

@param keyPairIds
       The IDs of the key pairs.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java