Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListZonesOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListZonesOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListZonesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListZonesOptions
available(boolean available)
ListZonesOptions
domainId(String domainId)
ListZonesOptions
id(String id)
ListZonesOptions
tags(Map<String,String> tags)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final ListZonesOptions NONE
-
-
Method Detail
-
id
public ListZonesOptions id(String id)
- Parameters:
id
- the ID of the zone
-
domainId
public ListZonesOptions domainId(String 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.
-
tags
public ListZonesOptions tags(Map<String,String> tags)
- Parameters:
tags
- Key/value pairs for tags that need to be matched.
-
-