org.jclouds.cloudstack.options
Class ListZonesOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by 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:

Nested Class Summary
static class ListZonesOptions.Builder
           
 
Field Summary
static ListZonesOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListZonesOptions()
           
 
Method Summary
 ListZonesOptions available(boolean available)
           
 ListZonesOptions domainId(long domainId)
           
 ListZonesOptions id(long id)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListZonesOptions NONE
Constructor Detail

ListZonesOptions

public ListZonesOptions()
Method Detail

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.