> +package org.jclouds.glacier.options;
> +
> +import static com.google.common.base.Preconditions.checkArgument;
> +import static com.google.common.base.Preconditions.checkNotNull;
> +
> +import org.jclouds.http.options.BaseHttpRequestOptions;
> +
> +/**
> + * Pagination options used to specify the collection responses.
> + *
> + * @author Roman Coedo
> + */
> +public class PaginationOptions extends BaseHttpRequestOptions {
> +
> + private final static int MIN_LIMIT = 1;
> + private final static int MAX_LIMIT = 1000;
It is specified by the Glacier API, so it isn't likely to change. Both listings
in the API (Multipart upload parts and vault lists) has the same constraint. I
added a reference on the javadoc to
http://docs.aws.amazon.com/amazonglacier/latest/dev/api-vaults-get.html for
clarity.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r13036402