public abstract static class CreateSubnetOptions.Builder<T extends CreateSubnetOptions.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<AllocationPool> |
allocationPools |
protected Set<String> |
dnsNameServers |
protected Boolean |
enableDhcp |
protected String |
gatewayIp |
protected Set<HostRoute> |
hostRoutes |
protected String |
name |
Constructor and Description |
---|
CreateSubnetOptions.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
allocationPools(Collection<AllocationPool> allocationPools) |
CreateSubnetOptions |
build() |
T |
dnsNameServers(Collection<String> dnsNameServers) |
T |
enableDhcp(Boolean enableDhcp) |
T |
fromCreateSubnetOptions(CreateSubnetOptions in) |
T |
gatewayIp(String gatewayIp) |
T |
hostRoutes(Collection<HostRoute> hostRoutes) |
T |
name(String name) |
protected abstract T |
self() |
protected String name
protected Set<AllocationPool> allocationPools
protected String gatewayIp
protected Boolean enableDhcp
protected abstract T self()
public T name(String name)
CreateSubnetOptions.getName()
public T allocationPools(Collection<AllocationPool> allocationPools)
public T gatewayIp(String gatewayIp)
CreateSubnetOptions.getGatewayIp()
public T enableDhcp(Boolean enableDhcp)
CreateSubnetOptions.getEnableDhcp()
public T dnsNameServers(Collection<String> dnsNameServers)
public T hostRoutes(Collection<HostRoute> hostRoutes)
CreateSubnetOptions.getHostRoutes()
public CreateSubnetOptions build()
public T fromCreateSubnetOptions(CreateSubnetOptions in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.