public class AttachElasticLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AttachElasticLoadBalancer operation
.
Attaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing .
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.
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
AttachElasticLoadBalancerRequest() |
Modifier and Type | Method and Description |
---|---|
AttachElasticLoadBalancerRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getElasticLoadBalancerName()
public void setElasticLoadBalancerName(String elasticLoadBalancerName)
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public AttachElasticLoadBalancerRequest withElasticLoadBalancerName(String elasticLoadBalancerName)
Returns a reference to this object so that method calls can be chained together.
elasticLoadBalancerName
- The Elastic Load Balancing instance's name.public String getLayerId()
public void setLayerId(String layerId)
layerId
- The ID of the layer that the Elastic Load Balancing instance is to be
attached to.public AttachElasticLoadBalancerRequest withLayerId(String layerId)
Returns a reference to this object so that method calls can be chained together.
layerId
- The ID of the layer that the Elastic Load Balancing instance is to be
attached to.public String toString()
toString
in class Object
Object.toString()
public AttachElasticLoadBalancerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.