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