public class FirewallRuleServiceImpl extends BaseNetworkingServices implements FirewallRuleService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
FirewallRuleServiceImpl() |
Modifier and Type | Method and Description |
---|---|
FirewallRule |
create(FirewallRule firewall)
Create a FirewallRule
|
ActionResponse |
delete(String firewallRuleId)
Delete the specified FirewallRule by ID
|
FirewallRule |
get(String firewallRuleId)
Get the specified FirewallRule by ID
|
List<? extends FirewallRule> |
list()
List all FirewallRules(s) that the current tenant has access to.
|
List<? extends FirewallRule> |
list(Map<String,String> filteringParams)
Returns list of FirewallRules(s) filtered by parameters.
|
FirewallRule |
update(String firewallRuleId,
FirewallRuleUpdate firewallRuleUpdate)
Update a FirewallRule
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends FirewallRule> list()
list
in interface FirewallRuleService
public List<? extends FirewallRule> list(Map<String,String> filteringParams)
list
in interface FirewallRuleService
filteringParams
- map (name, value) of filtering parameterspublic FirewallRule get(String firewallRuleId)
get
in interface FirewallRuleService
firewallRuleId
- the FirewallRule identifierpublic ActionResponse delete(String firewallRuleId)
delete
in interface FirewallRuleService
firewallRuleId
- the FirewallRule identifierpublic FirewallRule create(FirewallRule firewall)
create
in interface FirewallRuleService
public FirewallRule update(String firewallRuleId, FirewallRuleUpdate firewallRuleUpdate)
update
in interface FirewallRuleService
firewallRuleId
- the FirewallRule identifierfirewallRuleUpdate
- firewallRuleUpdateCopyright © 2017. All rights reserved.