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