public DescribeKeyPairsRequest withKeyNames(java.util.Collection<String> keyNames) {
        setKeyNames(keyNames);
        return this;
    }
<p>
The key pair names.
</p>
<p>
Default: Describes all of your key pairs.
</p>

@param keyNames
       The key pair names.</p>
       <p>
       Default: Describes all of your key pairs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeKeyPairsRequest.java