| Constructor and Description |
|---|
Builder(Ipv4.Type type)
Constructor with parameters for the required properties of
Ipv4. |
| Modifier and Type | Method and Description |
|---|---|
Ipv4 |
build() |
Ipv4.Builder |
setGateways(java.util.List<java.lang.String> gateways)
Gateways for the IPv4 address.
|
Ipv4.Builder |
setIpAddress(java.lang.String ipAddress)
The static IPv4 address.
|
Ipv4.Builder |
setPrefix(java.lang.Long prefix)
The IPv4 CIDR prefix, for example, 24.
|
public Ipv4.Builder setIpAddress(java.lang.String ipAddress)
getType() is Ipv4.Type.STATIC.ipAddress - New value for the property.public Ipv4.Builder setPrefix(java.lang.Long prefix)
getType() is Ipv4.Type.STATIC.prefix - New value for the property.public Ipv4.Builder setGateways(java.util.List<java.lang.String> gateways)
null, no gateways are set.gateways - New value for the property.public Ipv4 build()