@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AttachLoadBalancersRequest() |
Modifier and Type | Method and Description |
---|---|
AttachLoadBalancersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group.
|
List<String> |
getLoadBalancerNames()
One or more load balancer names.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachLoadBalancersRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(String... loadBalancerNames)
One or more load balancer names.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String getAutoScalingGroupName()
The name of the group.
public AttachLoadBalancersRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public List<String> getLoadBalancerNames()
One or more load balancer names.
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
loadBalancerNames
- One or more load balancer names.public AttachLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
One or more load balancer names.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerNames(java.util.Collection)
or withLoadBalancerNames(java.util.Collection)
if
you want to override the existing values.
loadBalancerNames
- One or more load balancer names.public AttachLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
One or more load balancer names.
loadBalancerNames
- One or more load balancer names.public String toString()
toString
in class Object
Object.toString()
public AttachLoadBalancersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.