public static final class ClusterTypes.IpInfo.Builder
extends java.lang.Object
ClusterTypes.IpInfo
.Constructor and Description |
---|
Builder(ClusterTypes.IpFamily ipFamily)
Constructor with parameters for the required properties of
ClusterTypes.IpInfo . |
Modifier and Type | Method and Description |
---|---|
ClusterTypes.IpInfo |
build() |
ClusterTypes.IpInfo.Builder |
setGatewayIp(java.lang.String gatewayIp)
Gateway IP address.
|
ClusterTypes.IpInfo.Builder |
setIpv4(ClusterTypes.Ipv4Info ipv4)
If the type of the ip family is IPV4, then this will point to IPv4 address
specification.
|
ClusterTypes.IpInfo.Builder |
setIpv6(ClusterTypes.Ipv6Info ipv6)
If the type of the ip family is IPV6, then this will point to IPv6 address
specification.
|
public Builder(ClusterTypes.IpFamily ipFamily)
ClusterTypes.IpInfo
.public ClusterTypes.IpInfo.Builder setIpv4(ClusterTypes.Ipv4Info ipv4)
getIpFamily()
is com.vmware.vcenter.vcha.ClusterTypes.IpFamily#IP_V4
.ipv4
- New value for the property.public ClusterTypes.IpInfo.Builder setIpv6(ClusterTypes.Ipv6Info ipv6)
getIpFamily()
is com.vmware.vcenter.vcha.ClusterTypes.IpFamily#IP_V6
.ipv6
- New value for the property.public ClusterTypes.IpInfo.Builder setGatewayIp(java.lang.String gatewayIp)
null
, no gateway is specified.gatewayIp
- New value for the property.public ClusterTypes.IpInfo build()