org.jclouds.cloudstack.options
Class ListFirewallRulesOptions

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

public class ListFirewallRulesOptions
extends AccountInDomainOptions

Options used to control what firewall rules are returned

Author:
Andrei Savu
See Also:

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

ListFirewallRulesOptions

public ListFirewallRulesOptions()
Method Detail

id

public ListFirewallRulesOptions id(long id)
Parameters:
id - firewall rule ID

ipAddressId

public ListFirewallRulesOptions ipAddressId(long ipAddressId)
Parameters:
ipAddressId - the id of IP address of the firwall services

keyword

public ListFirewallRulesOptions keyword(String keyword)
Parameters:
keyword - list by keyword

page

public ListFirewallRulesOptions page(long page)

pageSize

public ListFirewallRulesOptions pageSize(long pageSize)

accountInDomain

public ListFirewallRulesOptions accountInDomain(String account,
                                                long domain)

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

domainId

public ListFirewallRulesOptions domainId(long domainId)

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


Copyright © 2009-2012 jclouds. All Rights Reserved.