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 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 L2PolicyBuilder toBuilder()
toBuilder
in interface Buildable<L2PolicyBuilder>
public String getDescription()
L2Policy
getDescription
in interface L2Policy
public String getNetworkId()
L2Policy
getNetworkId
in interface L2Policy
public String getL3PolicyId()
L2Policy
getL3PolicyId
in interface L2Policy
public boolean isShared()
L2Policy
public List<String> getPolicyTargetGroups()
L2Policy
getPolicyTargetGroups
in interface L2Policy
public static L2PolicyBuilder builder()
Copyright © 2017. All rights reserved.