org.jclouds.cloudstack.options
Class ListPortForwardingRulesOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.ListPortForwardingRulesOptions
All Implemented Interfaces:
HttpRequestOptions

public class ListPortForwardingRulesOptions
extends AccountInDomainOptions

Options used to control what port forwarding rules are returned

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ListPortForwardingRulesOptions.Builder
           
 
Field Summary
static ListPortForwardingRulesOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListPortForwardingRulesOptions()
           
 
Method Summary
 ListPortForwardingRulesOptions accountInDomain(String account, long domain)
          
 ListPortForwardingRulesOptions domainId(long domainId)
          
 ListPortForwardingRulesOptions id(long id)
           
 ListPortForwardingRulesOptions ipAddressId(long IPAddressId)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ListPortForwardingRulesOptions NONE
Constructor Detail

ListPortForwardingRulesOptions

public ListPortForwardingRulesOptions()
Method Detail

id

public ListPortForwardingRulesOptions id(long id)
Parameters:
id - lists rule with the specified ID

ipAddressId

public ListPortForwardingRulesOptions ipAddressId(long IPAddressId)
Parameters:
IPAddressId - list the rule belonging to this public ip address

accountInDomain

public ListPortForwardingRulesOptions accountInDomain(String account,
                                                      long domain)

Overrides:
accountInDomain in class AccountInDomainOptions
Parameters:
account - an optional account for the resource
domain - domain id

domainId

public ListPortForwardingRulesOptions domainId(long domainId)

Overrides:
domainId in class AccountInDomainOptions
Parameters:
domainId - The domain for the resource


Copyright © 2009-2012 jclouds. All Rights Reserved.