Class NetworkLoadBalancerHealth.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • status

        public NetworkLoadBalancerHealth.Builder status​(NetworkLoadBalancerHealth.Status status)
        The overall health status of the network load balancer.

        **OK:** All backend sets associated with the network load balancer return a status of OK.

        **WARNING:** At least one of the backend sets associated with the network load balancer returns a status of WARNING, no backend sets return a status of CRITICAL, and the network load balancer life cycle state is ACTIVE.

        **CRITICAL:** One or more of the backend sets associated with the network load balancer return a status of CRITICAL.

        **UNKNOWN:** If any one of the following conditions is true:

        The network load balancer life cycle state is not ACTIVE.

        No backend sets are defined for the network load balancer.

        More than half of the backend sets associated with the network load balancer return a status of UNKNOWN, none of the backend sets return a status of WARNING or CRITICAL, and the network load balancer life cycle state is ACTIVE.

        The system could not retrieve metrics for any reason.

        Parameters:
        status - the value to set
        Returns:
        this builder
      • warningStateBackendSetNames

        public NetworkLoadBalancerHealth.Builder warningStateBackendSetNames​(List<String> warningStateBackendSetNames)
        A list of backend sets that are currently in the WARNING health state.

        The list identifies each backend set by the user-friendly name you assigned when you created the backend set.

        Example: example_backend_set3

        Parameters:
        warningStateBackendSetNames - the value to set
        Returns:
        this builder
      • criticalStateBackendSetNames

        public NetworkLoadBalancerHealth.Builder criticalStateBackendSetNames​(List<String> criticalStateBackendSetNames)
        A list of backend sets that are currently in the CRITICAL health state.

        The list identifies each backend set by the user-friendly name you assigned when you created the backend set.

        Example: example_backend_set

        Parameters:
        criticalStateBackendSetNames - the value to set
        Returns:
        this builder
      • unknownStateBackendSetNames

        public NetworkLoadBalancerHealth.Builder unknownStateBackendSetNames​(List<String> unknownStateBackendSetNames)
        A list of backend sets that are currently in the UNKNOWN health state.

        The list identifies each backend set by the user-friendly name you assigned when you created the backend set.

        Example: example_backend_set2

        Parameters:
        unknownStateBackendSetNames - the value to set
        Returns:
        this builder
      • totalBackendSetCount

        public NetworkLoadBalancerHealth.Builder totalBackendSetCount​(Integer totalBackendSetCount)
        The total number of backend sets associated with this network load balancer.

        Example: 4

        Parameters:
        totalBackendSetCount - the value to set
        Returns:
        this builder