Package com.vmware.nsx_policy.model
Class PacketAddressClassifier.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PacketAddressClassifier.Builder
-
- Enclosing class:
- PacketAddressClassifier
public static final class PacketAddressClassifier.Builder extends java.lang.Object
Builder class forPacketAddressClassifier
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPacketAddressClassifier
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketAddressClassifier
build()
PacketAddressClassifier.Builder
setIpAddress(java.lang.String ipAddress)
A single IP address or a subnet, e.g.PacketAddressClassifier.Builder
setMacAddress(java.lang.String macAddress)
A single MAC address format: mac-addressPacketAddressClassifier.Builder
setVlan(java.lang.Long vlan)
Virtual Local Area Network Identifier format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPacketAddressClassifier
.
-
-
Method Detail
-
setIpAddress
public PacketAddressClassifier.Builder setIpAddress(java.lang.String ipAddress)
A single IP address or a subnet, e.g. x.x.x.x or x.x.x.x/y format: address-or-block-or-range- Parameters:
ipAddress
- New value for the property.
-
setMacAddress
public PacketAddressClassifier.Builder setMacAddress(java.lang.String macAddress)
A single MAC address format: mac-address- Parameters:
macAddress
- New value for the property.
-
setVlan
public PacketAddressClassifier.Builder setVlan(java.lang.Long vlan)
Virtual Local Area Network Identifier format: int64- Parameters:
vlan
- New value for the property.
-
build
public PacketAddressClassifier build()
-
-