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 class
ListNetworksOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListNetworksOptions
NONE
-
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 ListNetworksOptions
accountInDomain(String account, String domain)
ListNetworksOptions
domainId(String domainId)
ListNetworksOptions
id(String id)
ListNetworksOptions
isDefault(boolean isDefault)
ListNetworksOptions
isShared(boolean isShared)
ListNetworksOptions
isSystem(boolean isSystem)
ListNetworksOptions
projectId(String projectId)
ListNetworksOptions
tags(Map<String,String> tags)
ListNetworksOptions
trafficType(TrafficType trafficType)
ListNetworksOptions
type(NetworkType type)
ListNetworksOptions
zoneId(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:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListNetworksOptions domainId(String domainId)
- Overrides:
domainId
in 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.
-
-