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:
java.io.Serializable

public class AttachElasticLoadBalancerRequest
extends AmazonWebServiceRequest
implements java.io.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(java.lang.Object obj)
           
 java.lang.String getElasticLoadBalancerName()
          The Elastic Load Balancing instance's name.
 java.lang.String getLayerId()
          The ID of the layer that the Elastic Load Balancing instance is to be attached to.
 int hashCode()
           
 void setElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 void setLayerId(java.lang.String layerId)
          The ID of the layer that the Elastic Load Balancing instance is to be attached to.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AttachElasticLoadBalancerRequest withElasticLoadBalancerName(java.lang.String elasticLoadBalancerName)
          The Elastic Load Balancing instance's name.
 AttachElasticLoadBalancerRequest withLayerId(java.lang.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 java.lang.String getElasticLoadBalancerName()
The Elastic Load Balancing instance's name.

Returns:
The Elastic Load Balancing instance's name.

setElasticLoadBalancerName

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

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

withElasticLoadBalancerName

public AttachElasticLoadBalancerRequest withElasticLoadBalancerName(java.lang.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.

getLayerId

public java.lang.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(java.lang.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(java.lang.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.

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.