@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerAttributes extends Object implements Serializable, Cloneable
The attributes for a load balancer.
| Constructor and Description | 
|---|
| LoadBalancerAttributes() | 
| Modifier and Type | Method and Description | 
|---|---|
| LoadBalancerAttributes | clone() | 
| boolean | equals(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. | 
| List<AdditionalAttribute> | getAdditionalAttributes()
 Any additional attributes. | 
| ConnectionDraining | getConnectionDraining()
 If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away
 from a deregistered or unhealthy 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 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)
 Any additional attributes. | 
| 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 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 instances regardless of the
 Availability Zones. | 
| String | toString()Returns a string representation of this object. | 
| 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)
 Any additional attributes. | 
| LoadBalancerAttributes | withAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
 Any additional attributes. | 
| 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 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 instances regardless of the
 Availability Zones. | 
public void setCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
crossZoneLoadBalancing - If enabled, the load balancer routes the request traffic evenly across all instances regardless of the
        Availability Zones.
        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
public CrossZoneLoadBalancing getCrossZoneLoadBalancing()
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
public LoadBalancerAttributes withCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
crossZoneLoadBalancing - If enabled, the load balancer routes the request traffic evenly across all instances regardless of the
        Availability Zones.
        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers Guide.
For more information, see Enable Access Logs in the Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
connectionDraining - If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic
        away from a deregistered or unhealthy instance.
        For more information, see Configure Connection Draining in the Classic Load Balancers 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 instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
For more information, see Configure Connection Draining in the Classic Load Balancers 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 instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
connectionDraining - If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic
        away from a deregistered or unhealthy instance.
        For more information, see Configure Connection Draining in the Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers 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 Classic Load Balancers Guide.
public List<AdditionalAttribute> getAdditionalAttributes()
Any additional attributes.
public void setAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.
additionalAttributes - Any additional attributes.public LoadBalancerAttributes withAdditionalAttributes(AdditionalAttribute... additionalAttributes)
Any additional attributes.
 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 - Any additional attributes.public LoadBalancerAttributes withAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.
additionalAttributes - Any additional attributes.public String toString()
toString in class ObjectObject.toString()public LoadBalancerAttributes clone()
Copyright © 2020. All rights reserved.