Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class AttachElasticLoadBalancerRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.AttachElasticLoadBalancerRequest
All Implemented Interfaces:
Serializable

public class AttachElasticLoadBalancerRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the AttachElasticLoadBalancer operation.

Attaches an Elastic Load Balancing instance to a specified layer.

NOTE:You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.

See Also:
AWSOpsWorks.attachElasticLoadBalancer(AttachElasticLoadBalancerRequest), Serialized Form

Constructor Summary
AttachElasticLoadBalancerRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getElasticLoadBalancerName()
          The Elastic Load Balancing instance's name.
 String getLayerId()
          The ID of the layer that the Elastic Load Balancing instance is to be attached to.
 int hashCode()
           
 void setElasticLoadBalancerName(String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 void setLayerId(String layerId)
          The ID of the layer that the Elastic Load Balancing instance is to be attached to.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AttachElasticLoadBalancerRequest withElasticLoadBalancerName(String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 AttachElasticLoadBalancerRequest withLayerId(String layerId)
          The ID of the layer that the Elastic Load Balancing instance is to be attached to.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachElasticLoadBalancerRequest

public AttachElasticLoadBalancerRequest()
Method Detail

getElasticLoadBalancerName

public String getElasticLoadBalancerName()
The Elastic Load Balancing instance's name.

Returns:
The Elastic Load Balancing instance's name.

setElasticLoadBalancerName

public void setElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.

Parameters:
elasticLoadBalancerName - The Elastic Load Balancing instance's name.

withElasticLoadBalancerName

public AttachElasticLoadBalancerRequest withElasticLoadBalancerName(String elasticLoadBalancerName)
The Elastic Load Balancing instance's name.

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

Parameters:
elasticLoadBalancerName - The Elastic Load Balancing instance's name.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayerId

public String getLayerId()
The ID of the layer that the Elastic Load Balancing instance is to be attached to.

Returns:
The ID of the layer that the Elastic Load Balancing instance is to be attached to.

setLayerId

public void setLayerId(String layerId)
The ID of the layer that the Elastic Load Balancing instance is to be attached to.

Parameters:
layerId - The ID of the layer that the Elastic Load Balancing instance is to be attached to.

withLayerId

public AttachElasticLoadBalancerRequest withLayerId(String layerId)
The ID of the layer that the Elastic Load Balancing instance is to be attached to.

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

Parameters:
layerId - The ID of the layer that the Elastic Load Balancing instance is to be attached to.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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