public class LoadBalancerAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The attributes for a load balancer.
Modifier and Type | Field and Description |
---|---|
private 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.
|
private SdkInternalList<AdditionalAttribute> |
additionalAttributes
This parameter is reserved.
|
private 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.
|
private ConnectionSettings |
connectionSettings
If enabled, the load balancer allows the connections to remain idle (no
data is sent over the connection) for the specified duration.
|
private CrossZoneLoadBalancing |
crossZoneLoadBalancing
If enabled, the load balancer routes the request traffic evenly across
all back-end instances regardless of the Availability Zones.
|
Constructor and Description |
---|
LoadBalancerAttributes() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
AccessLog |
getAccessLog()
If enabled, the load balancer captures detailed information of all
requests and delivers the information to the Amazon S3 bucket that you
specify.
|
java.util.List<AdditionalAttribute> |
getAdditionalAttributes()
This parameter is reserved.
|
ConnectionDraining |
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.
|
ConnectionSettings |
getConnectionSettings()
If enabled, the load balancer allows the connections to remain idle (no
data is sent over the connection) for the specified duration.
|
CrossZoneLoadBalancing |
getCrossZoneLoadBalancing()
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(java.util.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerAttributes |
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.
|
LoadBalancerAttributes |
withAdditionalAttributes(AdditionalAttribute... additionalAttributes)
This parameter is reserved.
|
LoadBalancerAttributes |
withAdditionalAttributes(java.util.Collection<AdditionalAttribute> additionalAttributes)
This parameter is reserved.
|
LoadBalancerAttributes |
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.
|
LoadBalancerAttributes |
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.
|
LoadBalancerAttributes |
withCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across
all back-end instances regardless of the Availability Zones.
|
private 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.
private 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.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
private 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.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
private ConnectionSettings 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.
private SdkInternalList<AdditionalAttribute> additionalAttributes
This parameter is reserved.
public void setCrossZoneLoadBalancing(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.
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.
public CrossZoneLoadBalancing 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.
For more information, see Enable Cross-Zone Load Balancing in the Elastic Load Balancing Developer Guide.
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.
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.
public 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.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
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.
public AccessLog 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.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
public LoadBalancerAttributes 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.
For more information, see Enable Access Logs in the Elastic Load Balancing Developer Guide.
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.
public 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.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
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.
public ConnectionDraining 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.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
public LoadBalancerAttributes 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.
For more information, see Enable Connection Draining in the Elastic Load Balancing Developer Guide.
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.
public 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.
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.
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.
public ConnectionSettings 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.
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.
public LoadBalancerAttributes 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.
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.
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.
public java.util.List<AdditionalAttribute> getAdditionalAttributes()
This parameter is reserved.
public void setAdditionalAttributes(java.util.Collection<AdditionalAttribute> additionalAttributes)
This parameter is reserved.
additionalAttributes
- This parameter is reserved.public LoadBalancerAttributes withAdditionalAttributes(AdditionalAttribute... additionalAttributes)
This parameter is reserved.
NOTE: This method appends the values to the existing list (if
any). Use setAdditionalAttributes(java.util.Collection)
or
withAdditionalAttributes(java.util.Collection)
if you want to
override the existing values.
additionalAttributes
- This parameter is reserved.public LoadBalancerAttributes withAdditionalAttributes(java.util.Collection<AdditionalAttribute> additionalAttributes)
This parameter is reserved.
additionalAttributes
- This parameter is reserved.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LoadBalancerAttributes clone()
clone
in class java.lang.Object