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 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()
PolicyRule
getDescription
in interface PolicyRule
public String getPolicyClassifierId()
PolicyRule
getPolicyClassifierId
in interface PolicyRule
public List<String> getPolicyActions()
PolicyRule
getPolicyActions
in interface PolicyRule
public boolean isShared()
PolicyRule
isShared
in interface PolicyRule
public boolean isEnabled()
PolicyRule
isEnabled
in interface PolicyRule
public PolicyRuleBuilder toBuilder()
toBuilder
in interface Buildable<PolicyRuleBuilder>
public static PolicyRuleBuilder builder()
Copyright © 2017. All rights reserved.