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 class
ListSecurityGroupsOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListSecurityGroupsOptions
NONE
-
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 ListSecurityGroupsOptions
accountInDomain(String account, String domain)
ListSecurityGroupsOptions
domainId(String domainId)
ListSecurityGroupsOptions
id(String id)
ListSecurityGroupsOptions
named(String securityGroupName)
ListSecurityGroupsOptions
projectId(String projectId)
ListSecurityGroupsOptions
tags(Map<String,String> tags)
ListSecurityGroupsOptions
virtualMachineId(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:
projectId
in 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:
accountInDomain
in classAssociateIPAddressOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListSecurityGroupsOptions domainId(String domainId)
- Overrides:
domainId
in classAssociateIPAddressOptions
- Parameters:
domainId
- The domain for the resource
-
-