Class LoadBalancerAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
The attributes for a load balancer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.This parameter is reserved.If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.int
hashCode()
void
setAccessLog
(AccessLog accessLog) If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.void
setAdditionalAttributes
(Collection<AdditionalAttribute> additionalAttributes) This parameter is reserved.void
setConnectionDraining
(ConnectionDraining connectionDraining) If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.void
setConnectionSettings
(ConnectionSettings connectionSettings) If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.void
setCrossZoneLoadBalancing
(CrossZoneLoadBalancing crossZoneLoadBalancing) If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.toString()
Returns a string representation of this object; useful for testing and debugging.withAccessLog
(AccessLog accessLog) If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.withAdditionalAttributes
(AdditionalAttribute... additionalAttributes) This parameter is reserved.withAdditionalAttributes
(Collection<AdditionalAttribute> additionalAttributes) This parameter is reserved.withConnectionDraining
(ConnectionDraining connectionDraining) If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.withConnectionSettings
(ConnectionSettings connectionSettings) If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.withCrossZoneLoadBalancing
(CrossZoneLoadBalancing crossZoneLoadBalancing) If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.
-
Constructor Details
-
LoadBalancerAttributes
public LoadBalancerAttributes()
-
-
Method Details
-
setCrossZoneLoadBalancing
If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
- Parameters:
crossZoneLoadBalancing
- If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
-
getCrossZoneLoadBalancing
If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
- Returns:
- If enabled, the load balancer routes the request traffic evenly
across all back-end instances regardless of the Availability
Zones.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
-
withCrossZoneLoadBalancing
public LoadBalancerAttributes withCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing) If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
- Parameters:
crossZoneLoadBalancing
- If enabled, the load balancer routes the request traffic evenly across all back-end instances regardless of the Availability Zones.For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessLog
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
- Parameters:
accessLog
- If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
-
getAccessLog
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
- Returns:
- If enabled, the load balancer captures detailed information of
all requests and delivers the information to the Amazon S3 bucket
that you specify.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
-
withAccessLog
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
- Parameters:
accessLog
- If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionDraining
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
- Parameters:
connectionDraining
- If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
-
getConnectionDraining
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
- Returns:
- If enabled, the load balancer allows existing requests to
complete before the load balancer shifts traffic away from a
deregistered or unhealthy back-end instance.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
-
withConnectionDraining
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
- Parameters:
connectionDraining
- If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionSettings
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
- Parameters:
connectionSettings
- If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
-
getConnectionSettings
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
- Returns:
- If enabled, the load balancer allows the connections to remain
idle (no data is sent over the connection) for the specified
duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
-
withConnectionSettings
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
- Parameters:
connectionSettings
- If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Elastic Load Balancing Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAdditionalAttributes
This parameter is reserved.
- Returns:
- This parameter is reserved.
-
setAdditionalAttributes
This parameter is reserved.
- Parameters:
additionalAttributes
- This parameter is reserved.
-
withAdditionalAttributes
This parameter is reserved.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalAttributes(java.util.Collection)
orwithAdditionalAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
additionalAttributes
- This parameter is reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAdditionalAttributes
public LoadBalancerAttributes withAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes) This parameter is reserved.
- Parameters:
additionalAttributes
- This parameter is reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-