public class GbpL2Policy extends Object implements L2Policy
| Modifier and Type | Class and Description |
|---|---|
static class |
GbpL2Policy.L2Policies |
static class |
GbpL2Policy.L2PolicyConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
GbpL2Policy() |
| Modifier and Type | Method and Description |
|---|---|
static L2PolicyBuilder |
builder() |
String |
getDescription()
Gets the description
|
String |
getId() |
String |
getL3PolicyId()
Gets the L3 Policy Id
|
String |
getName() |
String |
getNetworkId()
Gets the network Id
|
List<String> |
getPolicyTargetGroups()
Gets the list of policy Target groups
|
String |
getTenantId() |
boolean |
isShared()
Is L2 Policy 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
|
L2PolicyBuilder |
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 L2PolicyBuilder toBuilder()
toBuilder in interface Buildable<L2PolicyBuilder>public String getDescription()
L2PolicygetDescription in interface L2Policypublic String getNetworkId()
L2PolicygetNetworkId in interface L2Policypublic String getL3PolicyId()
L2PolicygetL3PolicyId in interface L2Policypublic boolean isShared()
L2Policypublic List<String> getPolicyTargetGroups()
L2PolicygetPolicyTargetGroups in interface L2Policypublic static L2PolicyBuilder builder()
Copyright © 2017. All rights reserved.