public class GbpL3Policy extends Object implements L3Policy
| Modifier and Type | Class and Description |
|---|---|
static class |
GbpL3Policy.L3Policies |
static class |
GbpL3Policy.L3PolicyConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
GbpL3Policy() |
| Modifier and Type | Method and Description |
|---|---|
static L3PolicyBuilder |
builder() |
String |
getDescription()
Gets the description
|
Map<String,List<String>> |
getExternalSegments()
Gets the external segment
|
String |
getId() |
String |
getIpPool()
Gets the Ip Pool
|
int |
getIpVersion()
Gets the Ip version
|
List<String> |
getL2Policies()
Gets the list of L2 Policies
|
String |
getName() |
List<String> |
getRouters()
Gets the list of routers
|
String |
getSubnetPrefixLength()
Gets the subnet prefix length
|
String |
getTenantId() |
boolean |
isShared()
Is L3 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
|
L3PolicyBuilder |
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 String getDescription()
L3PolicygetDescription in interface L3Policypublic Map<String,List<String>> getExternalSegments()
L3PolicygetExternalSegments in interface L3Policypublic int getIpVersion()
L3PolicygetIpVersion in interface L3Policypublic List<String> getL2Policies()
L3PolicygetL2Policies in interface L3Policypublic List<String> getRouters()
L3PolicygetRouters in interface L3Policypublic boolean isShared()
L3Policypublic String getSubnetPrefixLength()
L3PolicygetSubnetPrefixLength in interface L3Policypublic L3PolicyBuilder toBuilder()
toBuilder in interface Buildable<L3PolicyBuilder>public static L3PolicyBuilder builder()
Copyright © 2017. All rights reserved.