Package com.vmware.nsx_policy.model
Class TunnelInterfaceIPSubnet.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TunnelInterfaceIPSubnet.Builder
-
- Enclosing class:
- TunnelInterfaceIPSubnet
public static final class TunnelInterfaceIPSubnet.Builder extends java.lang.Object
Builder class forTunnelInterfaceIPSubnet
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTunnelInterfaceIPSubnet
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelInterfaceIPSubnet
build()
TunnelInterfaceIPSubnet.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IPv4 or IPv6 Addresses format: ipTunnelInterfaceIPSubnet.Builder
setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length maximum prefixlen for IPv4 address - 31, IPv6 address - 127.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTunnelInterfaceIPSubnet
.
-
-
Method Detail
-
setIpAddresses
public TunnelInterfaceIPSubnet.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IPv4 or IPv6 Addresses format: ip- Parameters:
ipAddresses
- New value for the property.
-
setPrefixLength
public TunnelInterfaceIPSubnet.Builder setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length maximum prefixlen for IPv4 address - 31, IPv6 address - 127. format: int64- Parameters:
prefixLength
- New value for the property.
-
build
public TunnelInterfaceIPSubnet build()
-
-