Class ImageListOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.digitalocean2.domain.options.ListOptions
org.jclouds.digitalocean2.domain.options.ImageListOptions
- All Implemented Interfaces:
HttpRequestOptions
Custom options to filter the list of images.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.digitalocean2.domain.options.ListOptions
PAGE_PARAM, PER_PAGE_PARAM
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpage
(int page) Configures the number of the page to be returned.perPage
(int perPage) Configures the number of entries to return in each page.privateImages
(boolean privateImages) Get the images of the current user.Configures the type of the images to be retrieved.Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Field Details
-
TYPE_PARAM
- See Also:
-
PRIVATE_PARAM
- See Also:
-
-
Constructor Details
-
ImageListOptions
public ImageListOptions()
-
-
Method Details
-
type
Configures the type of the images to be retrieved. -
privateImages
Get the images of the current user. -
perPage
Description copied from class:ListOptions
Configures the number of entries to return in each page.- Overrides:
perPage
in classListOptions
-
page
Description copied from class:ListOptions
Configures the number of the page to be returned.- Overrides:
page
in classListOptions
-