Package com.vmware.nsx_policy.model
Class MulticastForwarding.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MulticastForwarding.Builder
-
- Enclosing class:
- MulticastForwarding
public static final class MulticastForwarding.Builder extends java.lang.Object
Builder class forMulticastForwarding
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMulticastForwarding
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticastForwarding
build()
MulticastForwarding.Builder
setIncomingInterface(MulticastForwardingInterface incomingInterface)
MulticastForwarding.Builder
setMulticastGroup(java.lang.String multicastGroup)
Multicast group address.MulticastForwarding.Builder
setOutgoingInterfaces(java.util.List<MulticastForwardingInterface> outgoingInterfaces)
Array of egress interfaces on whic multicast traffic is forwarded.MulticastForwarding.Builder
setSource(java.lang.String source)
Multicast source address.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMulticastForwarding
.
-
-
Method Detail
-
setIncomingInterface
public MulticastForwarding.Builder setIncomingInterface(MulticastForwardingInterface incomingInterface)
- Parameters:
incomingInterface
- New value for the property.
-
setMulticastGroup
public MulticastForwarding.Builder setMulticastGroup(java.lang.String multicastGroup)
Multicast group address. format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
multicastGroup
- New value for the property.
-
setOutgoingInterfaces
public MulticastForwarding.Builder setOutgoingInterfaces(java.util.List<MulticastForwardingInterface> outgoingInterfaces)
Array of egress interfaces on whic multicast traffic is forwarded. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
outgoingInterfaces
- New value for the property.
-
setSource
public MulticastForwarding.Builder setSource(java.lang.String source)
Multicast source address. format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
source
- New value for the property.
-
build
public MulticastForwarding build()
-
-