@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the parameters of a VPC used by the application.
| Constructor and Description |
|---|
VpcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
VpcConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
The array of SecurityGroup IDs used
by the VPC configuration.
|
List<String> |
getSubnetIds()
The array of Subnet IDs used
by the VPC configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
void |
setSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
withSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
VpcConfiguration |
withSecurityGroupIds(String... securityGroupIds)
The array of SecurityGroup IDs used
by the VPC configuration.
|
VpcConfiguration |
withSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
VpcConfiguration |
withSubnetIds(String... subnetIds)
The array of Subnet IDs used
by the VPC configuration.
|
public List<String> getSubnetIds()
The array of Subnet IDs used by the VPC configuration.
public void setSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used by the VPC configuration.
subnetIds - The array of Subnet
IDs used by the VPC configuration.public VpcConfiguration withSubnetIds(String... subnetIds)
The array of Subnet IDs used by the VPC configuration.
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 array of Subnet
IDs used by the VPC configuration.public VpcConfiguration withSubnetIds(Collection<String> subnetIds)
The array of Subnet IDs used by the VPC configuration.
subnetIds - The array of Subnet
IDs used by the VPC configuration.public List<String> getSecurityGroupIds()
The array of SecurityGroup IDs used by the VPC configuration.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
securityGroupIds - The array of SecurityGroup IDs
used by the VPC configuration.public VpcConfiguration withSecurityGroupIds(String... securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
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 array of SecurityGroup IDs
used by the VPC configuration.public VpcConfiguration withSecurityGroupIds(Collection<String> securityGroupIds)
The array of SecurityGroup IDs used by the VPC configuration.
securityGroupIds - The array of SecurityGroup IDs
used by the VPC configuration.public String toString()
toString in class ObjectObject.toString()public VpcConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.