Interface TargetGroupStickinessConfig.Builder

    • Method Detail

      • enabled

        TargetGroupStickinessConfig.Builder enabled​(Boolean enabled)

        Indicates whether target group stickiness is enabled.

        Parameters:
        enabled - Indicates whether target group stickiness is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • durationSeconds

        TargetGroupStickinessConfig.Builder durationSeconds​(Integer durationSeconds)

        The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

        Parameters:
        durationSeconds - The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
        Returns:
        Returns a reference to this object so that method calls can be chained together.