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
- 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 ListNetworksOptions NONE
ListNetworksOptions
public ListNetworksOptions()
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(long id)
- Parameters:
id
- list networks by id
zoneId
public ListNetworksOptions zoneId(long zoneId)
- Parameters:
zoneId
- the Zone ID of the network
trafficType
public ListNetworksOptions trafficType(TrafficType trafficType)
- Parameters:
trafficType
- type of the traffic
accountInDomain
public ListNetworksOptions accountInDomain(String account,
long domain)
-
- Overrides:
accountInDomain
in class AccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
domainId
public ListNetworksOptions domainId(long domainId)
-
- Overrides:
domainId
in class AccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
Copyright © 2009-2012 jclouds. All Rights Reserved.