Package com.vmware.nsx_policy.model
Class PimRpMapping.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PimRpMapping.Builder
-
- Enclosing class:
- PimRpMapping
public static final class PimRpMapping.Builder extends java.lang.Object
Builder class forPimRpMapping
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPimRpMapping
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PimRpMapping
build()
PimRpMapping.Builder
setGroup(java.lang.String group)
Multicast group address.PimRpMapping.Builder
setIsRp(java.lang.Boolean isRp)
Value of this field will be true if this edge transport node acts as rendezvous point, otherwise false.PimRpMapping.Builder
setOutgoingInterface(java.lang.String outgoingInterface)
Outgoing/Egress interface for multicast traffic.PimRpMapping.Builder
setRpAddress(java.lang.String rpAddress)
RP (Randezvous Point) address.PimRpMapping.Builder
setSource(java.lang.String source)
Source of learning RP information.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPimRpMapping
.
-
-
Method Detail
-
setGroup
public PimRpMapping.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.
-
setIsRp
public PimRpMapping.Builder setIsRp(java.lang.Boolean isRp)
Value of this field will be true if this edge transport node acts as rendezvous point, otherwise false. 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:
isRp
- New value for the property.
-
setOutgoingInterface
public PimRpMapping.Builder setOutgoingInterface(java.lang.String outgoingInterface)
Outgoing/Egress interface for multicast traffic. 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:
outgoingInterface
- New value for the property.
-
setRpAddress
public PimRpMapping.Builder setRpAddress(java.lang.String rpAddress)
RP (Randezvous Point) 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:
rpAddress
- New value for the property.
-
setSource
public PimRpMapping.Builder setSource(java.lang.String source)
Source of learning RP information. Either Static RP configured or RP learned via BSR (Bootstrap Router). 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 PimRpMapping build()
-
-