public class ModifyLoadBalancerAttributesRequest extends AmazonWebServiceRequest implements java.io.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 Elastic Load Balancing Developer Guide:
Constructor and Description |
---|
ModifyLoadBalancerAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LoadBalancerAttributes |
getLoadBalancerAttributes()
The attributes of the load balancer.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes of the load balancer.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes of the load balancer.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public ModifyLoadBalancerAttributesRequest withLoadBalancerName(java.lang.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 of the load balancer.
The attributes of the load balancer.
public void setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes of the load balancer.
loadBalancerAttributes
- The attributes of the load balancer.
public ModifyLoadBalancerAttributesRequest withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
The attributes of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerAttributes
- The attributes of the load balancer.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.