Package com.vmware.nsx_policy.model
Class InterfaceSubnet.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.InterfaceSubnet.Builder
-
- Enclosing class:
- InterfaceSubnet
public static final class InterfaceSubnet.Builder extends java.lang.Object
Builder class forInterfaceSubnet
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofInterfaceSubnet
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterfaceSubnet
build()
InterfaceSubnet.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP addresses assigned to interface format: ipInterfaceSubnet.Builder
setPrefixLen(java.lang.Long prefixLen)
Subnet prefix length format: int32
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofInterfaceSubnet
.
-
-
Method Detail
-
setIpAddresses
public InterfaceSubnet.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
IP addresses assigned to interface format: ip- Parameters:
ipAddresses
- New value for the property.
-
setPrefixLen
public InterfaceSubnet.Builder setPrefixLen(java.lang.Long prefixLen)
Subnet prefix length format: int32- Parameters:
prefixLen
- New value for the property.
-
build
public InterfaceSubnet build()
-
-