Package org.jclouds.cloudstack.options
Class ListPortForwardingRulesOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.ListPortForwardingRulesOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class ListPortForwardingRulesOptions extends AccountInDomainOptions
Options used to control what port forwarding rules are returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListPortForwardingRulesOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListPortForwardingRulesOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListPortForwardingRulesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPortForwardingRulesOptionsaccountInDomain(String account, String domain)ListPortForwardingRulesOptionsdomainId(String domainId)ListPortForwardingRulesOptionsid(String id)ListPortForwardingRulesOptionsipAddressId(String IPAddressId)ListPortForwardingRulesOptionsprojectId(String projectId)ListPortForwardingRulesOptionstags(Map<String,String> tags)-
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 ListPortForwardingRulesOptions NONE
-
-
Method Detail
-
id
public ListPortForwardingRulesOptions id(String id)
- Parameters:
id- lists rule with the specified ID
-
ipAddressId
public ListPortForwardingRulesOptions ipAddressId(String IPAddressId)
- Parameters:
IPAddressId- list the rule belonging to this public ip address
-
projectId
public ListPortForwardingRulesOptions projectId(String projectId)
- Parameters:
projectId- list the rules in this project
-
tags
public ListPortForwardingRulesOptions tags(Map<String,String> tags)
- Parameters:
tags- Key/value pairs for tags that need to be matched.
-
accountInDomain
public ListPortForwardingRulesOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomainin classAccountInDomainOptions- Parameters:
account- an optional account for the resourcedomain- domain id
-
domainId
public ListPortForwardingRulesOptions domainId(String domainId)
- Overrides:
domainIdin classAccountInDomainOptions- Parameters:
domainId- The domain for the resource
-
-