public GetKeyPairsResult withKeyPairs(java.util.Collection<KeyPair> keyPairs) {
        setKeyPairs(keyPairs);
        return this;
    }
<p>
An array of key-value pairs containing information about the key pairs.
</p>

@param keyPairs
       An array of key-value pairs containing information about the key pairs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetKeyPairsResult.java