Package org.openstack4j.model.gbp
Interface PolicyRule
-
- All Superinterfaces:
BasicResource,Buildable<PolicyRuleBuilder>,IdEntity,ModelEntity,Resource,Serializable
- All Known Implementing Classes:
GbpPolicyRule
public interface PolicyRule extends Resource, Buildable<PolicyRuleBuilder>
Policy rule Model Entity- Author:
- vinod borole
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Gets the descriptionList<String>getPolicyActions()Gets the list of Policy actionsStringgetPolicyClassifierId()Gets the policy classifier IdbooleanisEnabled()Is policy rule enabledbooleanisShared()Is Policy Rule shared-
Methods inherited from interface org.openstack4j.model.common.BasicResource
getName, setName
-
Methods inherited from interface org.openstack4j.model.common.Resource
getTenantId, setTenantId
-
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Is policy rule enabled- Returns:
- True or False
-
isShared
boolean isShared()
Is Policy Rule shared- Returns:
- the true if shared and false if not shared
-
getPolicyActions
List<String> getPolicyActions()
Gets the list of Policy actions- Returns:
- the list of Policy actions
-
getPolicyClassifierId
String getPolicyClassifierId()
Gets the policy classifier Id- Returns:
- the policy classifier Id
-
getDescription
String getDescription()
Gets the description- Returns:
- the description
-
-