org.jclouds.cloudstack.options
Class ListFirewallRulesOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
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:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final ListFirewallRulesOptions NONE
ListFirewallRulesOptions
public ListFirewallRulesOptions()
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 resourcedomain
- 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.