@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes VPC configuration information.
Constructor and Description |
---|
VpcConfig() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The security groups for the fleet.
|
List<String> |
getSubnetIds()
The subnets to which a network interface is established from the fleet instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the fleet.
|
void |
setSubnetIds(Collection<String> subnetIds)
The 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 |
withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the fleet.
|
VpcConfig |
withSecurityGroupIds(String... securityGroupIds)
The security groups for the fleet.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
The subnets to which a network interface is established from the fleet instance.
|
VpcConfig |
withSubnetIds(String... subnetIds)
The subnets to which a network interface is established from the fleet instance.
|
public List<String> getSubnetIds()
The subnets to which a network interface is established from the fleet instance.
public void setSubnetIds(Collection<String> subnetIds)
The subnets to which a network interface is established from the fleet instance.
subnetIds
- The subnets to which a network interface is established from the fleet instance.public VpcConfig withSubnetIds(String... subnetIds)
The 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 subnets to which a network interface is established from the fleet instance.public VpcConfig withSubnetIds(Collection<String> subnetIds)
The subnets to which a network interface is established from the fleet instance.
subnetIds
- The subnets to which a network interface is established from the fleet instance.public List<String> getSecurityGroupIds()
The security groups for the fleet.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the fleet.
securityGroupIds
- The security groups for the fleet.public VpcConfig withSecurityGroupIds(String... securityGroupIds)
The security groups for the fleet.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The security groups for the fleet.public VpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
The security groups for the fleet.
securityGroupIds
- The security groups for the fleet.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.