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 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()
L3Policy
getDescription
in interface L3Policy
public Map<String,List<String>> getExternalSegments()
L3Policy
getExternalSegments
in interface L3Policy
public int getIpVersion()
L3Policy
getIpVersion
in interface L3Policy
public List<String> getL2Policies()
L3Policy
getL2Policies
in interface L3Policy
public List<String> getRouters()
L3Policy
getRouters
in interface L3Policy
public boolean isShared()
L3Policy
public String getSubnetPrefixLength()
L3Policy
getSubnetPrefixLength
in interface L3Policy
public L3PolicyBuilder toBuilder()
toBuilder
in interface Buildable<L3PolicyBuilder>
public static L3PolicyBuilder builder()
Copyright © 2017. All rights reserved.