public class ModifyLoadBalancerAttributesRequest extends AmazonWebServiceRequest implements 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(Object obj) |
LoadBalancerAttributes |
getLoadBalancerAttributes()
Attributes of the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
Attributes of 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)
Attributes of the load balancer.
|
ModifyLoadBalancerAttributesRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public ModifyLoadBalancerAttributesRequest withLoadBalancerName(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2016. All rights reserved.