Class GbpPolicyTargetGroup
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyTargetGroup
-
- All Implemented Interfaces:
Serializable,BasicResource,IdEntity,Resource,PolicyTargetGroup,ModelEntity
public class GbpPolicyTargetGroup extends Object implements PolicyTargetGroup
Model implementation for Policy target group- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyTargetGroup.PolicyTargetGroups
-
Constructor Summary
Constructors Constructor Description GbpPolicyTargetGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getConsumedPolicyRuleSets()Gets the consumed policy rule sets IdsStringgetDescription()Gets the descriptionStringgetId()StringgetL2PolicyId()Gets the L2 Policy idStringgetName()StringgetNetworkServicePolicyId()Gets the network service policy idList<String>getPolicyTargets()Gets the list of policy targetsList<String>getProvidedPolicyRuleSets()Gets the provided policy rule sets IdsList<String>getSubnets()Gets the subnetsStringgetTenantId()booleanisServiceManagement()Is service managementbooleanisShared()Is Policy Target Group sharedvoidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierStringtoString()
-
-
-
Method Detail
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceResource- Returns:
- the tenant identifier for this resource
-
setTenantId
public void setTenantId(String tenantId)
Description copied from interface:ResourceSets the tenant identifier- Specified by:
setTenantIdin interfaceResource- Parameters:
tenantId- the tenant id to set
-
getName
public String getName()
- Specified by:
getNamein interfaceBasicResource- Returns:
- the name for this resource
-
setName
public void setName(String name)
Description copied from interface:BasicResourceSets the name for this resource- Specified by:
setNamein interfaceBasicResource- Parameters:
name- the name to set
-
getId
public String getId()
-
setId
public void setId(String id)
Description copied from interface:IdEntitySets the identifier for this resource. Note: creating a new resource should not have the idenfier set since OpenStack will assign one on the create call
-
getDescription
public String getDescription()
Description copied from interface:PolicyTargetGroupGets the description- Specified by:
getDescriptionin interfacePolicyTargetGroup- Returns:
- the description
-
getConsumedPolicyRuleSets
public List<String> getConsumedPolicyRuleSets()
Description copied from interface:PolicyTargetGroupGets the consumed policy rule sets Ids- Specified by:
getConsumedPolicyRuleSetsin interfacePolicyTargetGroup- Returns:
- the consumed policy rule sets ids
-
getProvidedPolicyRuleSets
public List<String> getProvidedPolicyRuleSets()
Description copied from interface:PolicyTargetGroupGets the provided policy rule sets Ids- Specified by:
getProvidedPolicyRuleSetsin interfacePolicyTargetGroup- Returns:
- the provided policy rule sets ids
-
getL2PolicyId
public String getL2PolicyId()
Description copied from interface:PolicyTargetGroupGets the L2 Policy id- Specified by:
getL2PolicyIdin interfacePolicyTargetGroup- Returns:
- the L2 Policy id
-
getNetworkServicePolicyId
public String getNetworkServicePolicyId()
Description copied from interface:PolicyTargetGroupGets the network service policy id- Specified by:
getNetworkServicePolicyIdin interfacePolicyTargetGroup- Returns:
- the network service policy id
-
getPolicyTargets
public List<String> getPolicyTargets()
Description copied from interface:PolicyTargetGroupGets the list of policy targets- Specified by:
getPolicyTargetsin interfacePolicyTargetGroup- Returns:
- the list of policy targets
-
isServiceManagement
public boolean isServiceManagement()
Description copied from interface:PolicyTargetGroupIs service management- Specified by:
isServiceManagementin interfacePolicyTargetGroup- Returns:
- True or False
-
isShared
public boolean isShared()
Description copied from interface:PolicyTargetGroupIs Policy Target Group shared- Specified by:
isSharedin interfacePolicyTargetGroup- Returns:
- the true if shared and false if not shared
-
getSubnets
public List<String> getSubnets()
Description copied from interface:PolicyTargetGroupGets the subnets- Specified by:
getSubnetsin interfacePolicyTargetGroup- Returns:
- the subnets
-
-