org.jclouds.cloudstack.options
Class ListSecurityGroupsOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.AssociateIPAddressOptions
              extended by org.jclouds.cloudstack.options.ListSecurityGroupsOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListSecurityGroupsOptions
extends AssociateIPAddressOptions

Options used to control what security groups are returned

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ListSecurityGroupsOptions.Builder
           
 
Field Summary
static ListSecurityGroupsOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListSecurityGroupsOptions()
           
 
Method Summary
 ListSecurityGroupsOptions accountInDomain(String account, long domain)
          
 ListSecurityGroupsOptions domainId(long domainId)
          
 ListSecurityGroupsOptions id(long id)
           
 ListSecurityGroupsOptions named(String securityGroupName)
           
 ListSecurityGroupsOptions virtualMachineId(long virtualMachineId)
           
 
Methods inherited from class org.jclouds.cloudstack.options.AssociateIPAddressOptions
networkId
 
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 ListSecurityGroupsOptions NONE
Constructor Detail

ListSecurityGroupsOptions

public ListSecurityGroupsOptions()
Method Detail

id

public ListSecurityGroupsOptions id(long id)
Parameters:
id - the ID of the security group

named

public ListSecurityGroupsOptions named(String securityGroupName)
Parameters:
securityGroupName - lists security groups by name

virtualMachineId

public ListSecurityGroupsOptions virtualMachineId(long virtualMachineId)
Parameters:
virtualMachineId - the ID of the virtual machine. Pass this in if you want to see the available service offering that a virtual machine can be changed to.

accountInDomain

public ListSecurityGroupsOptions accountInDomain(String account,
                                                 long domain)

Overrides:
accountInDomain in class AssociateIPAddressOptions
Parameters:
account - an optional account for the resource
domain - domain id

domainId

public ListSecurityGroupsOptions domainId(long domainId)

Overrides:
domainId in class AssociateIPAddressOptions
Parameters:
domainId - The domain for the resource


Copyright © 2009-2012 jclouds. All Rights Reserved.