Class LBPoolMemberGroup.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of LBPoolMemberGroup.
    • 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.
      • 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.