public class GbpPolicyRuleSet extends Object implements PolicyRuleSet
Modifier and Type | Class and Description |
---|---|
static class |
GbpPolicyRuleSet.PolicyRuleSetConcreteBuilder |
static class |
GbpPolicyRuleSet.PolicyRuleSets |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpPolicyRuleSet() |
Modifier and Type | Method and Description |
---|---|
static PolicyRuleSetBuilder |
builder() |
List<String> |
getChildPolicyRuleSets()
Gets the list of child policy rule sets
|
String |
getDescription()
Gets the description
|
String |
getId() |
String |
getName() |
String |
getParentId()
Gets the parent Id
|
List<String> |
getPolicyRules()
Gets the list of Policy rules
|
String |
getTenantId() |
boolean |
isShared()
Is Policy rule set shared
|
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
PolicyRuleSetBuilder |
toBuilder() |
String |
toString() |
public String getTenantId()
getTenantId
in interface Resource
public void setTenantId(String tenantId)
Resource
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic String getName()
getName
in interface BasicResource
public void setName(String name)
BasicResource
setName
in interface BasicResource
name
- the name to setpublic String getId()
public void setId(String id)
IdEntity
public String getDescription()
PolicyRuleSet
getDescription
in interface PolicyRuleSet
public boolean isShared()
PolicyRuleSet
isShared
in interface PolicyRuleSet
public String getParentId()
PolicyRuleSet
getParentId
in interface PolicyRuleSet
public List<String> getChildPolicyRuleSets()
PolicyRuleSet
getChildPolicyRuleSets
in interface PolicyRuleSet
public List<String> getPolicyRules()
PolicyRuleSet
getPolicyRules
in interface PolicyRuleSet
public PolicyRuleSetBuilder toBuilder()
toBuilder
in interface Buildable<PolicyRuleSetBuilder>
public static PolicyRuleSetBuilder builder()
Copyright © 2017. All rights reserved.