public static final class IpPoolSubnet.Builder
extends java.lang.Object
IpPoolSubnet
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IpPoolSubnet . |
Modifier and Type | Method and Description |
---|---|
IpPoolSubnet |
build() |
IpPoolSubnet.Builder |
setAllocationRanges(java.util.List<IpPoolRange> allocationRanges)
A collection of IPv4 or IPv6 IP Pool Ranges.
|
IpPoolSubnet.Builder |
setCidr(java.lang.String cidr)
Represents network address and the prefix length which will be associated with a
layer-2 broadcast domain
|
IpPoolSubnet.Builder |
setDnsNameservers(java.util.List<java.lang.String> dnsNameservers)
The collection of upto 3 DNS servers for the subnet.
|
IpPoolSubnet.Builder |
setDnsSuffix(java.lang.String dnsSuffix)
The DNS suffix for the DNS server.
|
IpPoolSubnet.Builder |
setGatewayIp(java.lang.String gatewayIp)
The default gateway address on a layer-3 router.
|
IpPoolSubnet.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
IpPoolSubnet.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
IpPoolSubnet.Builder |
setSelf(SelfResourceLink self) |
public Builder()
IpPoolSubnet
.public IpPoolSubnet.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public IpPoolSubnet.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public IpPoolSubnet.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public IpPoolSubnet.Builder setAllocationRanges(java.util.List<IpPoolRange> allocationRanges)
allocationRanges
- New value for the property.public IpPoolSubnet.Builder setCidr(java.lang.String cidr)
cidr
- New value for the property.public IpPoolSubnet.Builder setDnsNameservers(java.util.List<java.lang.String> dnsNameservers)
dnsNameservers
- New value for the property.public IpPoolSubnet.Builder setDnsSuffix(java.lang.String dnsSuffix)
dnsSuffix
- New value for the property.public IpPoolSubnet.Builder setGatewayIp(java.lang.String gatewayIp)
gatewayIp
- New value for the property.public IpPoolSubnet build()