com.amazonaws.services.elasticloadbalancing.model
Class ModifyLoadBalancerAttributesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.ModifyLoadBalancerAttributesRequest
All Implemented Interfaces:
java.io.Serializable

public class ModifyLoadBalancerAttributesRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the 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 .

See Also:
AmazonElasticLoadBalancing.modifyLoadBalancerAttributes(ModifyLoadBalancerAttributesRequest), Serialized Form

Constructor Summary
ModifyLoadBalancerAttributesRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyLoadBalancerAttributesRequest

public ModifyLoadBalancerAttributesRequest()
Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
The name of the load balancer.

Returns:
The name of the load balancer.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.

Parameters:
loadBalancerName - The name of the load balancer.

withLoadBalancerName

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.

Parameters:
loadBalancerName - The name of the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getLoadBalancerAttributes

public LoadBalancerAttributes getLoadBalancerAttributes()
Attributes of the load balancer.

Returns:
Attributes of the load balancer.

setLoadBalancerAttributes

public void setLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
Attributes of the load balancer.

Parameters:
loadBalancerAttributes - Attributes of the load balancer.

withLoadBalancerAttributes

public ModifyLoadBalancerAttributesRequest withLoadBalancerAttributes(LoadBalancerAttributes loadBalancerAttributes)
Attributes of the load balancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerAttributes - Attributes of the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.