Package com.vmware.nsx_policy.model
Class MulticastRoute.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MulticastRoute.Builder
-
- Enclosing class:
- MulticastRoute
public static final class MulticastRoute.Builder extends java.lang.Object
Builder class forMulticastRoute
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMulticastRoute
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MulticastRoute
build()
MulticastRoute.Builder
setGroup(java.lang.String group)
Multicast group address.MulticastRoute.Builder
setInputInterface(java.lang.String inputInterface)
Ingress interface on which multicast traffic is learned.MulticastRoute.Builder
setOutputInterface(java.lang.String outputInterface)
Egress interface on which multicast traffic is forwarded.MulticastRoute.Builder
setSourceAddress(java.lang.String sourceAddress)
Multicast source address.MulticastRoute.Builder
setTtl(java.lang.Long ttl)
Time-to-live value for multicast packets.MulticastRoute.Builder
setUptime(java.lang.String uptime)
Time for which multicast route entry is active.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMulticastRoute
.
-
-
Method Detail
-
setGroup
public MulticastRoute.Builder setGroup(java.lang.String group)
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:
group
- New value for the property.
-
setInputInterface
public MulticastRoute.Builder setInputInterface(java.lang.String inputInterface)
Ingress interface on which multicast traffic is learned. 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:
inputInterface
- New value for the property.
-
setOutputInterface
public MulticastRoute.Builder setOutputInterface(java.lang.String outputInterface)
Egress interface on which 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:
outputInterface
- New value for the property.
-
setSourceAddress
public MulticastRoute.Builder setSourceAddress(java.lang.String sourceAddress)
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:
sourceAddress
- New value for the property.
-
setTtl
public MulticastRoute.Builder setTtl(java.lang.Long ttl)
Time-to-live value for multicast packets. format: int64 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:
ttl
- New value for the property.
-
setUptime
public MulticastRoute.Builder setUptime(java.lang.String uptime)
Time for which multicast route entry is active. 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:
uptime
- New value for the property.
-
build
public MulticastRoute build()
-
-