CopyableBuilder<TargetGroupAttribute.Builder,TargetGroupAttribute>, SdkBuilder<TargetGroupAttribute.Builder,TargetGroupAttribute>public static interface TargetGroupAttribute.Builder extends CopyableBuilder<TargetGroupAttribute.Builder,TargetGroupAttribute>
| Modifier and Type | Method | Description |
|---|---|---|
TargetGroupAttribute.Builder |
key(String key) |
The name of the attribute.
|
TargetGroupAttribute.Builder |
value(String value) |
The value of the attribute.
|
copyapply, buildTargetGroupAttribute.Builder key(String key)
The name of the attribute.
deregistration_delay.timeout_seconds - The amount time for Elastic Load Balancing to wait before
changing the state of a deregistering target from draining to unused. The range is
0-3600 seconds. The default value is 300 seconds.
stickiness.enabled - Indicates whether sticky sessions are enabled. The value is
true or false.
stickiness.type - The type of sticky sessions. The possible value is lb_cookie.
stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which requests from
a client should be routed to the same target. After this time period expires, the load balancer-generated
cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day
(86400 seconds).
key - The name of the attribute.
deregistration_delay.timeout_seconds - The amount time for Elastic Load Balancing to wait
before changing the state of a deregistering target from draining to unused.
The range is 0-3600 seconds. The default value is 300 seconds.
stickiness.enabled - Indicates whether sticky sessions are enabled. The value is
true or false.
stickiness.type - The type of sticky sessions. The possible value is
lb_cookie.
stickiness.lb_cookie.duration_seconds - The time period, in seconds, during which
requests from a client should be routed to the same target. After this time period expires, the load
balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The
default value is 1 day (86400 seconds).
TargetGroupAttribute.Builder value(String value)
The value of the attribute.
value - The value of the attribute.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.