Package org.jclouds.cloudstack.options
Class ListSecurityGroupsOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.AssociateIPAddressOptions
-
- org.jclouds.cloudstack.options.ListSecurityGroupsOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListSecurityGroupsOptions extends AssociateIPAddressOptions
Options used to control what security groups are returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListSecurityGroupsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListSecurityGroupsOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListSecurityGroupsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSecurityGroupsOptionsaccountInDomain(String account, String domain)ListSecurityGroupsOptionsdomainId(String domainId)ListSecurityGroupsOptionsid(String id)ListSecurityGroupsOptionsnamed(String securityGroupName)ListSecurityGroupsOptionsprojectId(String projectId)ListSecurityGroupsOptionstags(Map<String,String> tags)ListSecurityGroupsOptionsvirtualMachineId(String virtualMachineId)-
Methods inherited from class org.jclouds.cloudstack.options.AssociateIPAddressOptions
networkId
-
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 ListSecurityGroupsOptions NONE
-
-
Method Detail
-
id
public ListSecurityGroupsOptions id(String 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(String 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.
-
projectId
public ListSecurityGroupsOptions projectId(String projectId)
- Overrides:
projectIdin classAssociateIPAddressOptions- Parameters:
projectId- the ID of the project to search in.
-
tags
public ListSecurityGroupsOptions tags(Map<String,String> tags)
- Parameters:
tags- Key/value pairs for tags that need to be matched.
-
accountInDomain
public ListSecurityGroupsOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomainin classAssociateIPAddressOptions- Parameters:
account- an optional account for the resourcedomain- domain id
-
domainId
public ListSecurityGroupsOptions domainId(String domainId)
- Overrides:
domainIdin classAssociateIPAddressOptions- Parameters:
domainId- The domain for the resource
-
-