Class TargetGroupTargetFailoverArgs.Builder

    • Method Detail

      • onDeregistration

        public TargetGroupTargetFailoverArgs.Builder onDeregistration​(com.pulumi.core.Output<java.lang.String> onDeregistration)
        Parameters:
        onDeregistration - Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are `rebalance` and `no_rebalance`. Must match the attribute value set for `on_unhealthy`. Default: `no_rebalance`.
        Returns:
        builder
      • onDeregistration

        public TargetGroupTargetFailoverArgs.Builder onDeregistration​(java.lang.String onDeregistration)
        Parameters:
        onDeregistration - Indicates how the GWLB handles existing flows when a target is deregistered. Possible values are `rebalance` and `no_rebalance`. Must match the attribute value set for `on_unhealthy`. Default: `no_rebalance`.
        Returns:
        builder
      • onUnhealthy

        public TargetGroupTargetFailoverArgs.Builder onUnhealthy​(com.pulumi.core.Output<java.lang.String> onUnhealthy)
        Parameters:
        onUnhealthy - Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are `rebalance` and `no_rebalance`. Must match the attribute value set for `on_deregistration`. Default: `no_rebalance`.
        Returns:
        builder
      • onUnhealthy

        public TargetGroupTargetFailoverArgs.Builder onUnhealthy​(java.lang.String onUnhealthy)
        Parameters:
        onUnhealthy - Indicates how the GWLB handles existing flows when a target is unhealthy. Possible values are `rebalance` and `no_rebalance`. Must match the attribute value set for `on_deregistration`. Default: `no_rebalance`.
        Returns:
        builder