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