@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable
The VPC in which the fleet is launched.
| Constructor and Description |
|---|
VpcConfig() |
| Modifier and Type | Method and Description |
|---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSubnetIds()
The list of subnets to which a network interface is established from the fleet instance.
|
int |
hashCode() |
void |
setSubnetIds(Collection<String> subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
|
VpcConfig |
withSubnetIds(String... subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
|
public List<String> getSubnetIds()
The list of subnets to which a network interface is established from the fleet instance.
public void setSubnetIds(Collection<String> subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
subnetIds - The list of subnets to which a network interface is established from the fleet instance.public VpcConfig withSubnetIds(String... subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection) or withSubnetIds(java.util.Collection) if you want to
override the existing values.
subnetIds - The list of subnets to which a network interface is established from the fleet instance.public VpcConfig withSubnetIds(Collection<String> subnetIds)
The list of subnets to which a network interface is established from the fleet instance.
subnetIds - The list of subnets to which a network interface is established from the fleet instance.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.