public class Subnet extends ReferenceWithName
Modifier and Type | Class and Description |
---|---|
static class |
Subnet.Builder<T extends Subnet.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Subnet(String id,
String tenantId,
String name,
String networkId,
String gatewayIp,
Integer ipVersion,
String cidr,
Set<AllocationPool> allocationPools,
Boolean enableDhcp,
Set<String> dnsNameServers,
Set<HostRoute> hostRoutes) |
Modifier and Type | Method and Description |
---|---|
static Subnet.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Set<AllocationPool> |
getAllocationPools() |
String |
getCidr() |
Set<String> |
getDnsNameServers() |
Boolean |
getEnableDhcp() |
String |
getGatewayIp() |
Set<HostRoute> |
getHostRoutes() |
Integer |
getIpVersion() |
String |
getNetworkId() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Subnet.Builder<?> |
toBuilder() |
String |
toString() |
getName
getId, getTenantId
@ConstructorProperties(value={"id","tenant_id","name","network_id","gateway_ip","ip_version","cidr","allocation_pools","enable_dhcp","dns_nameservers","host_routes"}) protected Subnet(String id, String tenantId, String name, String networkId, String gatewayIp, Integer ipVersion, String cidr, Set<AllocationPool> allocationPools, Boolean enableDhcp, Set<String> dnsNameServers, Set<HostRoute> hostRoutes)
public String getNetworkId()
public String getGatewayIp()
public Integer getIpVersion()
public String getCidr()
public Set<AllocationPool> getAllocationPools()
public Boolean getEnableDhcp()
public Set<String> getDnsNameServers()
public Set<HostRoute> getHostRoutes()
public int hashCode()
hashCode
in class ReferenceWithName
public boolean equals(Object obj)
equals
in class ReferenceWithName
protected com.google.common.base.Objects.ToStringHelper string()
string
in class ReferenceWithName
public String toString()
toString
in class ReferenceWithName
public static Subnet.Builder<?> builder()
public Subnet.Builder<?> toBuilder()
toBuilder
in class ReferenceWithName
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.