Class CreateLoadBalancerPoolMemberOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateLoadBalancerPoolMemberOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createLoadBalancerPoolMember options.
    • Method Detail

      • loadBalancerId

        public String loadBalancerId()
        Gets the loadBalancerId. The load balancer identifier.
        Returns:
        the loadBalancerId
      • poolId

        public String poolId()
        Gets the poolId. The pool identifier.
        Returns:
        the poolId
      • port

        public Long port()
        Gets the port. The port the member will receive load balancer traffic on. Applies only to load balancer traffic received on a listener with a single port. (If the traffic is received on a listener with a port range, the member will receive the traffic on the same port the listener received it on.) This port will also be used for health checks unless the `port` property of `health_monitor` property is specified. The port must be unique across all members for all pools associated with this pool's listener. For load balancers in the `network` family, the same `port` and `target` tuple cannot be shared by a pool member of any other load balancer in the same VPC.
        Returns:
        the port
      • target

        public LoadBalancerPoolMemberTargetPrototype target()
        Gets the target. The pool member target. If the load balancer has `route_mode` set to `true`, the member must be in a zone the load balancer has a subnet in. For load balancers in the `network` family, the same `port` and `target` tuple cannot be shared by a pool member of any other load balancer in the same VPC.
        Returns:
        the target
      • weight

        public Long weight()
        Gets the weight. The weight of the server member. If specified, the pool algorithm must be `weighted_round_robin` and the load balancer must be in the `application` family. If unspecified, the weight will be `50` for load balancers in the `application` family.
        Returns:
        the weight