@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupAttribute extends Object implements Serializable, Cloneable
Information about a target group attribute.
Constructor and Description |
---|
TargetGroupAttribute() |
Modifier and Type | Method and Description |
---|---|
TargetGroupAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the attribute.
|
String |
getValue()
The value of the attribute.
|
int |
hashCode() |
void |
setKey(String key)
The name of the attribute.
|
void |
setValue(String value)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TargetGroupAttribute |
withKey(String key)
The name of the attribute.
|
TargetGroupAttribute |
withValue(String value)
The value of the attribute.
|
public void setKey(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
- [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).
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
- [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 getKey()
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
- [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.
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 TargetGroupAttribute withKey(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
- [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).
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
- [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 void setValue(String value)
The value of the attribute.
value
- The value of the attribute.public String getValue()
The value of the attribute.
public TargetGroupAttribute withValue(String value)
The value of the attribute.
value
- The value of the attribute.public String toString()
toString
in class Object
Object.toString()
public TargetGroupAttribute clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.