public class GbpPolicyClassifier extends Object implements PolicyClassifier
| Modifier and Type | Class and Description |
|---|---|
static class |
GbpPolicyClassifier.PolicyClassifierConcreteBuilder |
static class |
GbpPolicyClassifier.PolicyClassifiers |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
GbpPolicyClassifier() |
| Modifier and Type | Method and Description |
|---|---|
static PolicyClassifierBuilder |
builder() |
String |
getDescription()
Gets the description
|
Direction |
getDirection()
Gets the Direction
|
String |
getId() |
String |
getName() |
String |
getPortRange()
Gets the Port range
|
Protocol |
getProtocol()
Gets the Protocol
|
String |
getTenantId() |
boolean |
isShared()
Is Policy classifier 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
|
PolicyClassifierBuilder |
toBuilder() |
String |
toString() |
public PolicyClassifierBuilder toBuilder()
toBuilder in interface Buildable<PolicyClassifierBuilder>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()
PolicyClassifiergetDescription in interface PolicyClassifierpublic Direction getDirection()
PolicyClassifiergetDirection in interface PolicyClassifierpublic String getPortRange()
PolicyClassifiergetPortRange in interface PolicyClassifierpublic Protocol getProtocol()
PolicyClassifiergetProtocol in interface PolicyClassifierpublic boolean isShared()
PolicyClassifierisShared in interface PolicyClassifierpublic static PolicyClassifierBuilder builder()
Copyright © 2017. All rights reserved.