@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
List<SubnetMapping> |
getSubnetMappings()
The IDs of the subnets.
|
List<String> |
getSubnets()
The IDs of the subnets.
|
int |
hashCode() |
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setSubnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the subnets.
|
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 |
withSubnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the subnets.
|
SetSubnetsRequest |
withSubnetMappings(SubnetMapping... subnetMappings)
The IDs of the subnets.
|
SetSubnetsRequest |
withSubnets(Collection<String> subnets)
The IDs of the subnets.
|
SetSubnetsRequest |
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, 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 subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
subnets - The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.public SetSubnetsRequest withSubnets(String... subnets)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
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 subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.public SetSubnetsRequest withSubnets(Collection<String> subnets)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
subnets - The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.public List<SubnetMapping> getSubnetMappings()
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
You cannot specify Elastic IP addresses for your subnets.
public void setSubnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
subnetMappings - The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
public SetSubnetsRequest withSubnetMappings(SubnetMapping... subnetMappings)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetMappings(java.util.Collection) or withSubnetMappings(java.util.Collection) if you want
to override the existing values.
subnetMappings - The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
public SetSubnetsRequest withSubnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
subnetMappings - The IDs of the subnets. You must specify subnets from at least two Availability Zones. You can specify
only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
public String toString()
toString in class ObjectObject.toString()public SetSubnetsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.