org.jclouds.cloudstack.options
Class ListNetworksOptions

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

Nested Class Summary
static class ListNetworksOptions.Builder
           
 
Field Summary
static ListNetworksOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListNetworksOptions()
           
 
Method Summary
 ListNetworksOptions accountInDomain(String account, long domain)
          
 ListNetworksOptions domainId(long domainId)
          
 ListNetworksOptions id(long id)
           
 ListNetworksOptions isDefault(boolean isDefault)
           
 ListNetworksOptions isShared(boolean isShared)
           
 ListNetworksOptions isSystem(boolean isSystem)
           
 ListNetworksOptions trafficType(TrafficType trafficType)
           
 ListNetworksOptions type(NetworkType type)
           
 ListNetworksOptions zoneId(long zoneId)
           
 
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 ListNetworksOptions NONE
Constructor Detail

ListNetworksOptions

public ListNetworksOptions()
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(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 resource
domain - 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.