Package com.vmware.nsx_policy.model
Class IgmpMembership.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.IgmpMembership.Builder
-
- Enclosing class:
- IgmpMembership
public static final class IgmpMembership.Builder extends java.lang.Object
Builder class forIgmpMembership
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofIgmpMembership
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IgmpMembership
build()
IgmpMembership.Builder
set_Interface(java.lang.String _Interface)
Interface on which multicast group membership is learned.IgmpMembership.Builder
setGroup(java.lang.String group)
Multicast group address.IgmpMembership.Builder
setIgmpVersion(java.lang.Long igmpVersion)
IGMP version.IgmpMembership.Builder
setNoOfSources(java.lang.String noOfSources)
Number of multicast sources.IgmpMembership.Builder
setSourceAddress(java.lang.String sourceAddress)
IP address of multicast source.IgmpMembership.Builder
setUptime(java.lang.String uptime)
Multicast group membership active time.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofIgmpMembership
.
-
-
Method Detail
-
setGroup
public IgmpMembership.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.
-
setIgmpVersion
public IgmpMembership.Builder setIgmpVersion(java.lang.Long igmpVersion)
IGMP version. 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:
igmpVersion
- New value for the property.
-
set_Interface
public IgmpMembership.Builder set_Interface(java.lang.String _Interface)
Interface on which multicast group membership 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:
_Interface
- New value for the property.
-
setNoOfSources
public IgmpMembership.Builder setNoOfSources(java.lang.String noOfSources)
Number of multicast sources. 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:
noOfSources
- New value for the property.
-
setSourceAddress
public IgmpMembership.Builder setSourceAddress(java.lang.String sourceAddress)
IP address of multicast source. 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.
-
setUptime
public IgmpMembership.Builder setUptime(java.lang.String uptime)
Multicast group membership active time. 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 IgmpMembership build()
-
-