@Generated(value="software.amazon.awssdk:codegen") public class TargetGroupAttribute extends Object implements ToCopyableBuilder<TargetGroupAttribute.Builder,TargetGroupAttribute>
Information about a target group attribute.
Modifier and Type | Class and Description |
---|---|
static interface |
TargetGroupAttribute.Builder |
Modifier and Type | Method and Description |
---|---|
static TargetGroupAttribute.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The name of the attribute.
|
static Class<? extends TargetGroupAttribute.Builder> |
serializableBuilderClass() |
TargetGroupAttribute.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The value of the attribute.
|
copy
public 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.
proxy_protocol_v2.enabled
- [Network Load Balancers] Indicates whether Proxy Protocol version 2 is
enabled.
stickiness.enabled
- [Application Load Balancers] Indicates whether sticky sessions are enabled. The
value is true
or false
.
stickiness.type
- [Application Load Balancers] The type of sticky sessions. The possible value is
lb_cookie
.
stickiness.lb_cookie.duration_seconds
- [Application Load Balancers] 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).
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.
proxy_protocol_v2.enabled
- [Network Load Balancers] Indicates whether Proxy Protocol
version 2 is enabled.
stickiness.enabled
- [Application Load Balancers] Indicates whether sticky sessions are
enabled. The value is true
or false
.
stickiness.type
- [Application Load Balancers] The type of sticky sessions. The possible
value is lb_cookie
.
stickiness.lb_cookie.duration_seconds
- [Application Load Balancers] 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).
public String value()
The value of the attribute.
public TargetGroupAttribute.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TargetGroupAttribute.Builder,TargetGroupAttribute>
public static TargetGroupAttribute.Builder builder()
public static Class<? extends TargetGroupAttribute.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.