org.jclouds.cloudstack.options
Class ListIPForwardingRulesOptions

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

public class ListIPForwardingRulesOptions
extends AccountInDomainOptions

Options used to control what ip forwarding rules are returned

Author:
Adrian Cole
See Also:

Nested Class Summary
static class ListIPForwardingRulesOptions.Builder
           
 
Field Summary
static ListIPForwardingRulesOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
ListIPForwardingRulesOptions()
           
 
Method Summary
 ListIPForwardingRulesOptions accountInDomain(String account, long domain)
          
 ListIPForwardingRulesOptions domainId(long domainId)
          
 ListIPForwardingRulesOptions id(long id)
           
 ListIPForwardingRulesOptions IPAddressId(long IPAddressId)
           
 ListIPForwardingRulesOptions virtualMachineId(long virtualMachineId)
           
 
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 ListIPForwardingRulesOptions NONE
Constructor Detail

ListIPForwardingRulesOptions

public ListIPForwardingRulesOptions()
Method Detail

id

public ListIPForwardingRulesOptions id(long id)
Parameters:
id - Lists rule with the specified ID.

IPAddressId

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

virtualMachineId

public ListIPForwardingRulesOptions virtualMachineId(long virtualMachineId)
Parameters:
virtualMachineId - Lists all rules applied to the specified Vm.

accountInDomain

public ListIPForwardingRulesOptions accountInDomain(String account,
                                                    long domain)

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

domainId

public ListIPForwardingRulesOptions domainId(long domainId)

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


Copyright © 2009-2012 jclouds. All Rights Reserved.