Class GbpPolicyRuleSet
- java.lang.Object
-
- org.openstack4j.openstack.gbp.domain.GbpPolicyRuleSet
-
- All Implemented Interfaces:
Serializable,Buildable<PolicyRuleSetBuilder>,BasicResource,IdEntity,Resource,PolicyRuleSet,ModelEntity
public class GbpPolicyRuleSet extends Object implements PolicyRuleSet
Model implementation for Policy rule set- Author:
- vinod borole
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGbpPolicyRuleSet.PolicyRuleSetConcreteBuilderstatic classGbpPolicyRuleSet.PolicyRuleSets-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description GbpPolicyRuleSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyRuleSetBuilderbuilder()List<String>getChildPolicyRuleSets()Gets the list of child policy rule setsStringgetDescription()Gets the descriptionStringgetId()StringgetName()StringgetParentId()Gets the parent IdList<String>getPolicyRules()Gets the list of Policy rulesStringgetTenantId()booleanisShared()Is Policy rule set sharedvoidsetId(String id)Sets the identifier for this resource.voidsetName(String name)Sets the name for this resourcevoidsetTenantId(String tenantId)Sets the tenant identifierPolicyRuleSetBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PolicyRuleSetBuilder builder()
-
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:PolicyRuleSetGets the description- Specified by:
getDescriptionin interfacePolicyRuleSet- Returns:
- the description
-
isShared
public boolean isShared()
Description copied from interface:PolicyRuleSetIs Policy rule set shared- Specified by:
isSharedin interfacePolicyRuleSet- Returns:
- the true if shared and false if not shared
-
getParentId
public String getParentId()
Description copied from interface:PolicyRuleSetGets the parent Id- Specified by:
getParentIdin interfacePolicyRuleSet- Returns:
- the parent Id
-
getChildPolicyRuleSets
public List<String> getChildPolicyRuleSets()
Description copied from interface:PolicyRuleSetGets the list of child policy rule sets- Specified by:
getChildPolicyRuleSetsin interfacePolicyRuleSet- Returns:
- the list of child policy rule sets
-
getPolicyRules
public List<String> getPolicyRules()
Description copied from interface:PolicyRuleSetGets the list of Policy rules- Specified by:
getPolicyRulesin interfacePolicyRuleSet- Returns:
- the list of Policy rules
-
toBuilder
public PolicyRuleSetBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PolicyRuleSetBuilder>
-
-