public abstract static class BulkSubnet.Builder extends Object
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 |
Constructor and Description |
---|
BulkSubnet.Builder() |
Modifier and Type | Method and Description |
---|---|
BulkSubnet.Builder |
allocationPools(Collection<AllocationPool> allocationPools) |
BulkSubnet |
build() |
BulkSubnet.Builder |
cidr(String cidr) |
BulkSubnet.Builder |
dnsNameServers(Collection<String> dnsNameServers) |
BulkSubnet.Builder |
enableDhcp(Boolean enableDhcp) |
BulkSubnet.Builder |
fromBulkSubnet(BulkSubnet in) |
BulkSubnet.Builder |
gatewayIp(String gatewayIp) |
BulkSubnet.Builder |
hostRoutes(Collection<HostRoute> hostRoutes) |
BulkSubnet.Builder |
ipVersion(Integer ipVersion) |
BulkSubnet.Builder |
name(String name) |
BulkSubnet.Builder |
networkId(String networkId) |
protected abstract BulkSubnet.Builder |
self() |
protected String name
protected String networkId
protected String gatewayIp
protected Integer ipVersion
protected String cidr
protected Set<AllocationPool> allocationPools
protected Boolean enableDhcp
protected abstract BulkSubnet.Builder self()
public BulkSubnet.Builder name(String name)
BulkSubnet.getName()
public BulkSubnet.Builder networkId(String networkId)
BulkSubnet.getNetworkId()
public BulkSubnet.Builder gatewayIp(String gatewayIp)
BulkSubnet.getGatewayIp()
public BulkSubnet.Builder ipVersion(Integer ipVersion)
BulkSubnet.getIpVersion()
public BulkSubnet.Builder cidr(String cidr)
BulkSubnet.getCidr()
public BulkSubnet.Builder allocationPools(Collection<AllocationPool> allocationPools)
BulkSubnet.getAllocationPools()
public BulkSubnet.Builder enableDhcp(Boolean enableDhcp)
BulkSubnet.getEnableDhcp()
public BulkSubnet.Builder dnsNameServers(Collection<String> dnsNameServers)
BulkSubnet.getDnsNameServers()
public BulkSubnet.Builder hostRoutes(Collection<HostRoute> hostRoutes)
BulkSubnet.getHostRoutes()
public BulkSubnet build()
public BulkSubnet.Builder fromBulkSubnet(BulkSubnet in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.