@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachLoadBalancerFromSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for DetachLoadBalancerFromSubnets.
NOOP
Constructor and Description |
---|
DetachLoadBalancerFromSubnetsRequest() |
Modifier and Type | Method and Description |
---|---|
DetachLoadBalancerFromSubnetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getSubnets()
The IDs of the subnets.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetachLoadBalancerFromSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets.
|
DetachLoadBalancerFromSubnetsRequest |
withSubnets(String... subnets)
The IDs of the subnets.
|
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 DetachLoadBalancerFromSubnetsRequest()
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public DetachLoadBalancerFromSubnetsRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public List<String> getSubnets()
The IDs of the subnets.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets.
subnets
- The IDs of the subnets.public DetachLoadBalancerFromSubnetsRequest withSubnets(String... subnets)
The IDs of the subnets.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The IDs of the subnets.public DetachLoadBalancerFromSubnetsRequest withSubnets(Collection<String> subnets)
The IDs of the subnets.
subnets
- The IDs of the subnets.public String toString()
toString
in class Object
Object.toString()
public DetachLoadBalancerFromSubnetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.