Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListFirewallRulesOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static ListFirewallRulesOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description ListFirewallRulesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFirewallRulesOptions
accountInDomain(String account, String domain)
ListFirewallRulesOptions
domainId(String domainId)
ListFirewallRulesOptions
id(String id)
ListFirewallRulesOptions
ipAddressId(String ipAddressId)
ListFirewallRulesOptions
keyword(String keyword)
ListFirewallRulesOptions
page(long page)
ListFirewallRulesOptions
pageSize(long pageSize)
ListFirewallRulesOptions
projectId(String projectId)
ListFirewallRulesOptions
tags(Map<String,String> tags)
-
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 ListFirewallRulesOptions NONE
-
-
Method Detail
-
id
public ListFirewallRulesOptions id(String id)
- Parameters:
id
- firewall rule ID
-
ipAddressId
public ListFirewallRulesOptions ipAddressId(String ipAddressId)
- Parameters:
ipAddressId
- the id of IP address of the firewall services
-
projectId
public ListFirewallRulesOptions projectId(String projectId)
- Parameters:
projectId
- List firewall rules in this project.
-
keyword
public ListFirewallRulesOptions keyword(String keyword)
- Parameters:
keyword
- list by keyword
-
page
public ListFirewallRulesOptions page(long page)
-
pageSize
public ListFirewallRulesOptions pageSize(long pageSize)
-
tags
public ListFirewallRulesOptions tags(Map<String,String> tags)
- Parameters:
tags
- Key/value pairs for tags that need to be matched.
-
accountInDomain
public ListFirewallRulesOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public ListFirewallRulesOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-