@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetSubnetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetSubnetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetSubnetsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
List<String> |
getSubnets()
The IDs of the subnets.
|
int |
hashCode() |
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) 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.
|
SetSubnetsRequest |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
SetSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets.
|
SetSubnetsRequest |
withSubnets(String... subnets)
The IDs of the subnets.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public SetSubnetsRequest withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public List<String> getSubnets()
The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
subnets - The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per
Availability Zone.public SetSubnetsRequest withSubnets(String... subnets)
The IDs of the subnets. You must specify at least two subnets. 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. You must specify at least two subnets. You can add only one subnet per
Availability Zone.public SetSubnetsRequest withSubnets(Collection<String> subnets)
The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per Availability Zone.
subnets - The IDs of the subnets. You must specify at least two subnets. You can add only one subnet per
Availability Zone.public String toString()
toString in class ObjectObject.toString()public SetSubnetsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.