Package org.jclouds.cloudstack.options
Class ListNetworksOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.ListNetworksOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListNetworksOptions extends AccountInDomainOptions
Options used to control what networks information is returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListNetworksOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListNetworksOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListNetworksOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNetworksOptionsaccountInDomain(String account, String domain)ListNetworksOptionsdomainId(String domainId)ListNetworksOptionsid(String id)ListNetworksOptionsisDefault(boolean isDefault)ListNetworksOptionsisShared(boolean isShared)ListNetworksOptionsisSystem(boolean isSystem)ListNetworksOptionsprojectId(String projectId)ListNetworksOptionstags(Map<String,String> tags)ListNetworksOptionstrafficType(TrafficType trafficType)ListNetworksOptionstype(NetworkType type)ListNetworksOptionszoneId(String zoneId)-
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 ListNetworksOptions NONE
-
-
Method Detail
-
isDefault
public ListNetworksOptions isDefault(boolean isDefault)
- Parameters:
isDefault- true if network is default, false otherwise
-
isShared
public ListNetworksOptions isShared(boolean isShared)
- Parameters:
isShared- true if network is shared, false otherwise
-
isSystem
public ListNetworksOptions isSystem(boolean isSystem)
- Parameters:
isSystem- true if network is system, false otherwise
-
type
public ListNetworksOptions type(NetworkType type)
- Parameters:
type- the type of the network
-
id
public ListNetworksOptions id(String id)
- Parameters:
id- list networks by id
-
zoneId
public ListNetworksOptions zoneId(String zoneId)
- Parameters:
zoneId- the Zone ID of the network
-
projectId
public ListNetworksOptions projectId(String projectId)
- Parameters:
projectId- the project ID of the network
-
trafficType
public ListNetworksOptions trafficType(TrafficType trafficType)
- Parameters:
trafficType- type of the traffic
-
accountInDomain
public ListNetworksOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomainin classAccountInDomainOptions- Parameters:
account- an optional account for the resourcedomain- domain id
-
domainId
public ListNetworksOptions domainId(String domainId)
- Overrides:
domainIdin classAccountInDomainOptions- Parameters:
domainId- The domain for the resource
-
tags
public ListNetworksOptions tags(Map<String,String> tags)
- Parameters:
tags- Key/value pairs for tags that need to be matched.
-
-