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 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()
PolicyClassifier
getDescription
in interface PolicyClassifier
public Direction getDirection()
PolicyClassifier
getDirection
in interface PolicyClassifier
public String getPortRange()
PolicyClassifier
getPortRange
in interface PolicyClassifier
public Protocol getProtocol()
PolicyClassifier
getProtocol
in interface PolicyClassifier
public boolean isShared()
PolicyClassifier
isShared
in interface PolicyClassifier
public static PolicyClassifierBuilder builder()
Copyright © 2017. All rights reserved.