public class GbpPolicyRule extends Object implements PolicyRule
| Modifier and Type | Class and Description |
|---|---|
static class |
GbpPolicyRule.PolicyRuleConcreteBuilder |
static class |
GbpPolicyRule.PolicyRules |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
GbpPolicyRule() |
| Modifier and Type | Method and Description |
|---|---|
static PolicyRuleBuilder |
builder() |
String |
getDescription()
Gets the description
|
String |
getId() |
String |
getName() |
List<String> |
getPolicyActions()
Gets the list of Policy actions
|
String |
getPolicyClassifierId()
Gets the policy classifier Id
|
String |
getTenantId() |
boolean |
isEnabled()
Is policy rule enabled
|
boolean |
isShared()
Is Policy Rule 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
|
PolicyRuleBuilder |
toBuilder() |
String |
toString() |
public String getTenantId()
getTenantId in interface Resourcepublic void setTenantId(String tenantId)
ResourcesetTenantId in interface ResourcetenantId - the tenant id to setpublic String getName()
getName in interface BasicResourcepublic void setName(String name)
BasicResourcesetName in interface BasicResourcename - the name to setpublic String getId()
public void setId(String id)
IdEntitypublic String getDescription()
PolicyRulegetDescription in interface PolicyRulepublic String getPolicyClassifierId()
PolicyRulegetPolicyClassifierId in interface PolicyRulepublic List<String> getPolicyActions()
PolicyRulegetPolicyActions in interface PolicyRulepublic boolean isShared()
PolicyRuleisShared in interface PolicyRulepublic boolean isEnabled()
PolicyRuleisEnabled in interface PolicyRulepublic PolicyRuleBuilder toBuilder()
toBuilder in interface Buildable<PolicyRuleBuilder>public static PolicyRuleBuilder builder()
Copyright © 2017. All rights reserved.