@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
VPC configuration.
Constructor and Description |
---|
VpcConfig() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
VPC configuration security group Ids.
|
List<String> |
getSubnetIds()
VPC configuration subnets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
VPC configuration security group Ids.
|
void |
setSubnetIds(Collection<String> subnetIds)
VPC configuration subnets.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
VPC configuration security group Ids.
|
VpcConfig |
withSecurityGroupIds(String... securityGroupIds)
VPC configuration security group Ids.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
VPC configuration subnets.
|
VpcConfig |
withSubnetIds(String... subnetIds)
VPC configuration subnets.
|
public List<String> getSubnetIds()
VPC configuration subnets.
public void setSubnetIds(Collection<String> subnetIds)
VPC configuration subnets.
subnetIds
- VPC configuration subnets.public VpcConfig withSubnetIds(String... subnetIds)
VPC configuration subnets.
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
- VPC configuration subnets.public VpcConfig withSubnetIds(Collection<String> subnetIds)
VPC configuration subnets.
subnetIds
- VPC configuration subnets.public List<String> getSecurityGroupIds()
VPC configuration security group Ids.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
VPC configuration security group Ids.
securityGroupIds
- VPC configuration security group Ids.public VpcConfig withSecurityGroupIds(String... securityGroupIds)
VPC configuration security group Ids.
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
- VPC configuration security group Ids.public VpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
VPC configuration security group Ids.
securityGroupIds
- VPC configuration security group Ids.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.