public class NeutronSubnet extends Object implements Subnet
| Modifier and Type | Class and Description |
|---|---|
static class |
NeutronSubnet.NeutronSubnetNoGateway |
static class |
NeutronSubnet.SubnetConcreteBuilder |
static class |
NeutronSubnet.Subnets |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
NeutronSubnet() |
NeutronSubnet(String id,
String name,
boolean enableDHCP,
String networkId,
String tenantId,
List<String> dnsNames,
List<NeutronPool> pools,
List<NeutronHostRoute> hostRoutes,
IPVersionType ipVersion,
String gateway,
String cidr,
Ipv6AddressMode ipv6AddressMode,
Ipv6RaMode ipv6RaMode) |
| Modifier and Type | Method and Description |
|---|---|
static SubnetBuilder |
builder() |
List<? extends Pool> |
getAllocationPools() |
String |
getCidr() |
List<String> |
getDnsNames() |
String |
getGateway() |
List<? extends HostRoute> |
getHostRoutes() |
String |
getId() |
Ipv6AddressMode |
getIpv6AddressMode() |
Ipv6RaMode |
getIpv6RaMode() |
IPVersionType |
getIpVersion() |
String |
getName() |
String |
getNetworkId() |
String |
getTenantId() |
boolean |
isDHCPEnabled() |
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
|
SubnetBuilder |
toBuilder() |
String |
toString() |
public NeutronSubnet()
public NeutronSubnet(String id, String name, boolean enableDHCP, String networkId, String tenantId, List<String> dnsNames, List<NeutronPool> pools, List<NeutronHostRoute> hostRoutes, IPVersionType ipVersion, String gateway, String cidr, Ipv6AddressMode ipv6AddressMode, Ipv6RaMode ipv6RaMode)
public static SubnetBuilder builder()
public SubnetBuilder toBuilder()
toBuilder in interface Buildable<SubnetBuilder>public void setId(String id)
public void setName(String name)
setName in interface BasicResourcename - the name to setpublic void setTenantId(String tenantId)
setTenantId in interface ResourcetenantId - the tenant id to setpublic String getId()
public String getName()
getName in interface BasicResourcepublic boolean isDHCPEnabled()
isDHCPEnabled in interface Subnetpublic String getNetworkId()
getNetworkId in interface Subnetpublic String getTenantId()
getTenantId in interface Resourcepublic List<String> getDnsNames()
getDnsNames in interface Subnetpublic List<? extends Pool> getAllocationPools()
getAllocationPools in interface Subnetpublic List<? extends HostRoute> getHostRoutes()
getHostRoutes in interface Subnetpublic IPVersionType getIpVersion()
getIpVersion in interface Subnetpublic String getGateway()
getGateway in interface Subnetpublic String getCidr()
public Ipv6AddressMode getIpv6AddressMode()
getIpv6AddressMode in interface Subnetpublic Ipv6RaMode getIpv6RaMode()
getIpv6RaMode in interface SubnetCopyright © 2017. All rights reserved.