Interface LbPoolBuilder

    • Method Detail

      • tenantId

        LbPoolBuilder tenantId​(String tenantId)
        Parameters:
        tenantId - Owner of the pool. Only an administrative user can specify a tenant ID other than its own.
        Returns:
        LbPoolBuilder
      • protocol

        LbPoolBuilder protocol​(Protocol protocol)
        Parameters:
        protocol - The protocol of the VIP address. A valid value is TCP, HTTP, or HTTPS.
        Returns:
        LbPoolBuilder
      • name

        LbPoolBuilder name​(String name)
        Parameters:
        name - Pool name. Does not have to be unique.
        Returns:
        LbPoolBuilder
      • description

        LbPoolBuilder description​(String description)
        Parameters:
        description - Description for the pool.
        Returns:
        LbPoolBuilder
      • subnetId

        LbPoolBuilder subnetId​(String subnentId)
        Parameters:
        subnentId - The ID of the subnet on which to allocate the VIP address.
        Returns:
        LbPoolBuilder
      • provider

        LbPoolBuilder provider​(String provider)
        Parameters:
        provider - Loadbalance provider which openstack supports,such as haproxy
        Returns:
        LbPoolBuilder
      • lbMethod

        LbPoolBuilder lbMethod​(LbMethod lbMethod)
        Parameters:
        lbMethod - The load-balancer algorithm, which is round-robin, least-connections, and so on. This value, which must be supported, is dependent on the load-balancer provider. Round robin must be supported.
        Returns:
        LbPoolBuilder
      • adminStateUp

        LbPoolBuilder adminStateUp​(boolean adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the lb pool, which is up (true) or down (false).
        Returns:
        LbPoolBuilder