Sets the maximum number of keys returned in the response body.
Default: 1000.

C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public ListVersionsRequest WithMaxKeys( int maxKeys )

- maxKeys (Int32)
- The maximum keys to return

this instance

The response might contain fewer keys, but will never contain more.
If additional keys satisfy the search criteria, but were not returned
because max-keys was exceeded, the response object's IsTruncated
property will be set to True.To return the additional keys, use the
key-marker and version-id-marker properties on a subsequent request.