@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 Auto Scaling group.
|
List<String> |
getLoadBalancerNames()
The names of the load balancers.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
|
String |
toString()
Returns a string representation of this object.
|
AttachLoadBalancersRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(String... loadBalancerNames)
The names of the load balancers.
|
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 Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public AttachLoadBalancersRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public List<String> getLoadBalancerNames()
The names of the load balancers. You can specify up to 10 load balancers.
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers. You can specify up to 10 load balancers.
loadBalancerNames
- The names of the load balancers. You can specify up to 10 load balancers.public AttachLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
The names of the load balancers. You can specify up to 10 load balancers.
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
- The names of the load balancers. You can specify up to 10 load balancers.public AttachLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers. You can specify up to 10 load balancers.
loadBalancerNames
- The names of the load balancers. You can specify up to 10 load balancers.public String toString()
toString
in class Object
Object.toString()
public AttachLoadBalancersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()