Package com.vmware.nsx_policy.model
Class LBPoolMemberGroup.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LBPoolMemberGroup.Builder
-
- Enclosing class:
- LBPoolMemberGroup
public static final class LBPoolMemberGroup.Builder extends java.lang.Object
Builder class forLBPoolMemberGroup
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLBPoolMemberGroup
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LBPoolMemberGroup
build()
LBPoolMemberGroup.Builder
setCustomizedMembers(java.util.List<PoolMemberSetting> customizedMembers)
The list is used to show the customized pool member settings.LBPoolMemberGroup.Builder
setGroupPath(java.lang.String groupPath)
Load balancer pool support Group as dynamic pool members.LBPoolMemberGroup.Builder
setIpRevisionFilter(java.lang.String ipRevisionFilter)
Possible values are:LBPoolMemberGroup.IP_REVISION_FILTER_IPV4
LBPoolMemberGroup.IP_REVISION_FILTER_IPV6
LBPoolMemberGroup.IP_REVISION_FILTER_IPV4_IPV6
Ip revision filter is used to filter IPv4 or IPv6 addresses from the grouping object.LBPoolMemberGroup.Builder
setMaxIpListSize(java.lang.Long maxIpListSize)
The size is used to define the maximum number of grouping object IP address list.LBPoolMemberGroup.Builder
setPort(java.lang.Long port)
If port is specified, all connections will be sent to this port.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLBPoolMemberGroup
.
-
-
Method Detail
-
setCustomizedMembers
public LBPoolMemberGroup.Builder setCustomizedMembers(java.util.List<PoolMemberSetting> customizedMembers)
The list is used to show the customized pool member settings. User can only user pool member action API to update the admin state for a specific IP address.- Parameters:
customizedMembers
- New value for the property.
-
setGroupPath
public LBPoolMemberGroup.Builder setGroupPath(java.lang.String groupPath)
Load balancer pool support Group as dynamic pool members. The IP list of the Group would be used as pool member IP setting.- Parameters:
groupPath
- New value for the property.
-
setIpRevisionFilter
public LBPoolMemberGroup.Builder setIpRevisionFilter(java.lang.String ipRevisionFilter)
Possible values are: Ip revision filter is used to filter IPv4 or IPv6 addresses from the grouping object. If the filter is not specified, both IPv4 and IPv6 addresses would be used as server IPs. The link local and loopback addresses would be always filtered out.- Parameters:
ipRevisionFilter
- New value for the property.
-
setMaxIpListSize
public LBPoolMemberGroup.Builder setMaxIpListSize(java.lang.Long maxIpListSize)
The size is used to define the maximum number of grouping object IP address list. These IP addresses would be used as pool members. If the grouping object includes more than certain number of IP addresses, the redundant parts would be ignored and those IP addresses would not be treated as pool members. If the size is not specified, one member is budgeted for this dynamic pool so that the pool has at least one member even if some other dynamic pools grow beyond the capacity of load balancer service. Other members are picked according to available dynamic capacity. The unused members would be set to DISABLED so that the load balancer system itself is not overloaded during runtime. format: int64- Parameters:
maxIpListSize
- New value for the property.
-
setPort
public LBPoolMemberGroup.Builder setPort(java.lang.Long port)
If port is specified, all connections will be sent to this port. If unset, the same port the client connected to will be used, it could be overridden by default_pool_member_ports setting in virtual server. The port should not specified for multiple ports case. format: int32- Parameters:
port
- New value for the property.
-
build
public LBPoolMemberGroup build()
-
-