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 `noRebalance`. Must match the attribute value set for `onUnhealthy`. Default: `noRebalance`.
        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 `noRebalance`. Must match the attribute value set for `onUnhealthy`. Default: `noRebalance`.
        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 `noRebalance`. Must match the attribute value set for `onDeregistration`. Default: `noRebalance`.
        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 `noRebalance`. Must match the attribute value set for `onDeregistration`. Default: `noRebalance`.
        Returns:
        builder