public class ModifyLoadBalancerAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable
ModifyLoadBalancerAttributes operation.
Modifies the attributes of a specified load balancer.
You can modify the load balancer attributes, such as
AccessLogs ,
ConnectionDraining , and
CrossZoneLoadBalancing by either enabling or disabling
them.
For information on cross-zone load balancing, see Request Routing and for information on connection draining, see Connection Draining in the Concepts section of the Elastic Load Balancer Developer Guide . For information on access logs, see Access Logs .
| Constructor and Description |
|---|
ModifyLoadBalancerAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
LoadBalancerAttributes |
getLoadBalancerAttributes()
Attributes of the load balancer.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
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)
Attributes of the load balancer.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name of the load balancer.public ModifyLoadBalancerAttributesRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName - The name of the load balancer.public LoadBalancerAttributes getLoadBalancerAttributes()
public void setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
loadBalancerAttributes - Attributes of the load balancer.public ModifyLoadBalancerAttributesRequest withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
Returns a reference to this object so that method calls can be chained together.
loadBalancerAttributes - Attributes of the load balancer.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object