Package com.vmware.nsx_policy.model
Class TunnelSubnet.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TunnelSubnet.Builder
-
- Enclosing class:
- TunnelSubnet
public static final class TunnelSubnet.Builder extends java.lang.Object
Builder class forTunnelSubnet
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTunnelSubnet
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelSubnet
build()
TunnelSubnet.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
Subnet ip addresses format: ipv4TunnelSubnet.Builder
setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTunnelSubnet
.
-
-
Method Detail
-
setIpAddresses
public TunnelSubnet.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
Subnet ip addresses format: ipv4- Parameters:
ipAddresses
- New value for the property.
-
setPrefixLength
public TunnelSubnet.Builder setPrefixLength(java.lang.Long prefixLength)
Subnet Prefix Length format: int64- Parameters:
prefixLength
- New value for the property.
-
build
public TunnelSubnet build()
-
-