org.jclouds.cloudstack.options
Class ListZonesOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.ListZonesOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class ListZonesOptions
- extends BaseHttpRequestOptions
Options used to control what zones information is returned
- Author:
- Adrian Cole
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListZonesOptions NONE
ListZonesOptions
public ListZonesOptions()
id
public ListZonesOptions id(long id)
- Parameters:
id
- the ID of the zone
domainId
public ListZonesOptions domainId(long domainId)
- Parameters:
domainId
- the ID of the domain associated with the zone
available
public ListZonesOptions available(boolean available)
- Parameters:
available
- true if you want to retrieve all available Zones. False if you
only want to return the Zones from which you have at least one
VM. Default is false.
Copyright © 2009-2012 jclouds. All Rights Reserved.