public class ListImageOptions extends PaginationOptions
import static org.jclouds.openstack.glance.v1_0.options.ListImageOptions.Builder.*
// this will list the first 10 images with the name "name", minimum required disk of 5GB.
list = api.list(name("newName"), limit(10), minDisk(5));
Modifier and Type | Class and Description |
---|---|
static class |
ListImageOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListImageOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListImageOptions() |
Modifier and Type | Method and Description |
---|---|
ListImageOptions |
changesSince(Date ifModifiedSince)
Return only those images having a matching name attribute
|
ListImageOptions |
containerFormat(ContainerFormat containerFormat)
Return only those images having a matching container format
|
ListImageOptions |
diskFormat(DiskFormat diskFormat)
Return only those images having a matching disk format
|
ListImageOptions |
isProtected(boolean isProtected)
Filter to only protected or unprotected images
|
ListImageOptions |
isPublic(boolean isPublic)
Return only public images or only private images
|
ListImageOptions |
limit(int limit)
To reduce load on the service, list operations will return a maximum of 1,000 items at a time.
|
ListImageOptions |
marker(String marker)
The marker parameter is the ID of the last item in the previous list.
|
ListImageOptions |
maxSize(long size)
Return those images that have a size attribute less than or equal to size
|
ListImageOptions |
minDisk(long disk)
Return only those images having a matching min disk size
|
ListImageOptions |
minRam(long ram)
Return only those images having a matching min ram size
|
ListImageOptions |
minSize(long size)
Return those images that have a size attribute greater than or equal to size
|
ListImageOptions |
name(String name)
Return only those images having a matching name attribute
|
ListImageOptions |
sortAscending()
Ascending sort order (smallest first).
|
ListImageOptions |
sortBy(ImageField key)
Results will be ordered by the specified image attribute.
|
ListImageOptions |
status(Image.Status status)
Return only those images that have the requested status
|
queryParameters
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListImageOptions NONE
public ListImageOptions changesSince(Date ifModifiedSince)
changesSince
in class PaginationOptions
public ListImageOptions marker(String marker)
PaginationOptions
marker
in class PaginationOptions
public ListImageOptions limit(int limit)
PaginationOptions
limit
in class PaginationOptions
public ListImageOptions name(String name)
public ListImageOptions status(Image.Status status)
public ListImageOptions containerFormat(ContainerFormat containerFormat)
public ListImageOptions diskFormat(DiskFormat diskFormat)
public ListImageOptions minRam(long ram)
public ListImageOptions minDisk(long disk)
public ListImageOptions minSize(long size)
public ListImageOptions maxSize(long size)
public ListImageOptions isPublic(boolean isPublic)
public ListImageOptions isProtected(boolean isProtected)
public ListImageOptions sortBy(ImageField key)
public ListImageOptions sortAscending()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.