@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachLoadBalancerToSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for AttachLoaBalancerToSubnets.
NOOP
Constructor and Description |
---|
AttachLoadBalancerToSubnetsRequest() |
Modifier and Type | Method and Description |
---|---|
AttachLoadBalancerToSubnetsRequest |
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 to add.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setSubnets(Collection<String> subnets)
The IDs of the subnets to add.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AttachLoadBalancerToSubnetsRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets to add.
|
AttachLoadBalancerToSubnetsRequest |
withSubnets(String... subnets)
The IDs of the subnets to add.
|
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 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 AttachLoadBalancerToSubnetsRequest 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 to add. You can add only one subnet per Availability Zone.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
subnets
- The IDs of the subnets to add. You can add only one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(String... subnets)
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
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 to add. You can add only one subnet per Availability Zone.public AttachLoadBalancerToSubnetsRequest withSubnets(Collection<String> subnets)
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
subnets
- The IDs of the subnets to add. You can add only one subnet per Availability Zone.public String toString()
toString
in class Object
Object.toString()
public AttachLoadBalancerToSubnetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.