Class OlvmIp.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.OlvmIp.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OlvmIp.Builderaddress(String address)The text representation of the IP address.OlvmIpbuild()OlvmIp.Buildercopy(OlvmIp model)OlvmIp.Buildergateway(String gateway)The address of the default gateway.OlvmIp.BuilderipVersion(OlvmIp.IpVersion ipVersion)The version of the IP protocol.OlvmIp.Buildernetmask(String netmask)The network mask.
-
-
-
Method Detail
-
address
public OlvmIp.Builder address(String address)
The text representation of the IP address.- Parameters:
address- the value to set- Returns:
- this builder
-
gateway
public OlvmIp.Builder gateway(String gateway)
The address of the default gateway.- Parameters:
gateway- the value to set- Returns:
- this builder
-
netmask
public OlvmIp.Builder netmask(String netmask)
The network mask.- Parameters:
netmask- the value to set- Returns:
- this builder
-
ipVersion
public OlvmIp.Builder ipVersion(OlvmIp.IpVersion ipVersion)
The version of the IP protocol.- Parameters:
ipVersion- the value to set- Returns:
- this builder
-
build
public OlvmIp build()
-
copy
public OlvmIp.Builder copy(OlvmIp model)
-
-