public class GbpExternalSegment extends Object implements ExternalSegment
Modifier and Type | Class and Description |
---|---|
static class |
GbpExternalSegment.ExternalSegmentConcreteBuilder |
static class |
GbpExternalSegment.ExternalSegments |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpExternalSegment() |
Modifier and Type | Method and Description |
---|---|
static ExternalSegmentBuilder |
builder() |
String |
getCidr()
Gets the cidr
|
String |
getDescription()
Gets the description
|
List<String> |
getExternalPolicies()
Gets the external policies
|
List<GbpExternalRoutes> |
getExternalRoutes()
Gets the list of external routes
|
String |
getId() |
int |
getIpVersion()
Gets the Ip version
|
List<String> |
getL3Policies()
Gets the L3 policies
|
String |
getName() |
List<String> |
getNatpools()
Gets the list of nat pools
|
String |
getSubnetId()
Gets the subnet Id
|
String |
getTenantId() |
boolean |
isPortAddressTranslation()
Gets Is Port address Transalation
|
boolean |
isShared()
Is external segment 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
|
ExternalSegmentBuilder |
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 List<String> getExternalPolicies()
ExternalSegment
getExternalPolicies
in interface ExternalSegment
public int getIpVersion()
ExternalSegment
getIpVersion
in interface ExternalSegment
public String getCidr()
ExternalSegment
getCidr
in interface ExternalSegment
public String getDescription()
ExternalSegment
getDescription
in interface ExternalSegment
public boolean isShared()
ExternalSegment
isShared
in interface ExternalSegment
public String getSubnetId()
ExternalSegment
getSubnetId
in interface ExternalSegment
public List<String> getL3Policies()
ExternalSegment
getL3Policies
in interface ExternalSegment
public List<String> getNatpools()
ExternalSegment
getNatpools
in interface ExternalSegment
public boolean isPortAddressTranslation()
ExternalSegment
isPortAddressTranslation
in interface ExternalSegment
public List<GbpExternalRoutes> getExternalRoutes()
ExternalSegment
getExternalRoutes
in interface ExternalSegment
public ExternalSegmentBuilder toBuilder()
toBuilder
in interface Buildable<ExternalSegmentBuilder>
public static ExternalSegmentBuilder builder()
Copyright © 2017. All rights reserved.