Class SecurityGroupRuleServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.SecurityGroupRuleServiceImpl
-
- All Implemented Interfaces:
SecurityGroupRuleService,RestService
public class SecurityGroupRuleServiceImpl extends BaseNetworkingServices implements SecurityGroupRuleService
FloatingIPService implementation that provides Neutron Floating-IP based Service Operations.- Author:
- Nathan Anderson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupRuleServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroupRulecreate(SecurityGroupRule rule)Creates a security group rule.voiddelete(String ruleId)Delete security group rule by id.SecurityGroupRuleget(String id)Gets the Security Group rule by idList<? extends SecurityGroupRule>list()List security group rules accessible by current Tenant.List<? extends SecurityGroupRule>list(Map<String,String> filteringParams)List security group rules accessible by current Tenant.-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
get
public SecurityGroupRule get(String id)
Gets the Security Group rule by id- Specified by:
getin interfaceSecurityGroupRuleService- Parameters:
id- the id- Returns:
- the security group rule
-
delete
public void delete(String ruleId)
Delete security group rule by id.- Specified by:
deletein interfaceSecurityGroupRuleService- Parameters:
ruleId- the id
-
create
public SecurityGroupRule create(SecurityGroupRule rule)
Creates a security group rule.- Specified by:
createin interfaceSecurityGroupRuleService- Parameters:
rule- the rule- Returns:
- the security group rule
-
list
public List<? extends SecurityGroupRule> list(Map<String,String> filteringParams)
List security group rules accessible by current Tenant.- Specified by:
listin interfaceSecurityGroupRuleService- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- the list extends security group rules>
-
list
public List<? extends SecurityGroupRule> list()
List security group rules accessible by current Tenant.- Specified by:
listin interfaceSecurityGroupRuleService- Returns:
- the list extends security group rules>
-
-