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