public class ModifyLoadBalancerAttributesRequest extends AmazonWebServiceRequest implements Serializable
Modifies the attributes of the specified load balancer.
You can modify the load balancer attributes, such as AccessLogs,
ConnectionDraining, and CrossZoneLoadBalancing by
either enabling or disabling them. Or, you can modify the load balancer
attribute ConnectionSettings by specifying an idle connection
timeout value for your load balancer.
For more information, see the following in the Classic Load Balancers Guide:
| Constructor and Description |
|---|
ModifyLoadBalancerAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LoadBalancerAttributes |
getLoadBalancerAttributes()
The attributes for the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes for the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes for the load balancer.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName - The name of the load balancer.
public ModifyLoadBalancerAttributesRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name of the load balancer.
public LoadBalancerAttributes getLoadBalancerAttributes()
The attributes for the load balancer.
The attributes for the load balancer.
public void setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes for the load balancer.
loadBalancerAttributes - The attributes for the load balancer.
public ModifyLoadBalancerAttributesRequest withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes for the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerAttributes - The attributes for the load balancer.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.