public class AttachLoadBalancersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autoScalingGroupName
The name of the group.
|
private SdkInternalList<java.lang.String> |
loadBalancerNames
One or more load balancer names.
|
NOOP
Constructor and Description |
---|
AttachLoadBalancersRequest() |
Modifier and Type | Method and Description |
---|---|
AttachLoadBalancersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.util.List<java.lang.String> |
getLoadBalancerNames()
One or more load balancer names.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachLoadBalancersRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
|
AttachLoadBalancersRequest |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
One or more load balancer names.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String autoScalingGroupName
The name of the group.
private SdkInternalList<java.lang.String> loadBalancerNames
One or more load balancer names.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public java.lang.String getAutoScalingGroupName()
The name of the group.
public AttachLoadBalancersRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public java.util.List<java.lang.String> getLoadBalancerNames()
One or more load balancer names.
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
loadBalancerNames
- One or more load balancer names.public AttachLoadBalancersRequest withLoadBalancerNames(java.lang.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(java.util.Collection<java.lang.String> loadBalancerNames)
One or more load balancer names.
loadBalancerNames
- One or more load balancer names.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AttachLoadBalancersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()