@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configuration information about the Amazon Virtual Private Cloud (VPC).
Constructor and Description |
---|
VpcConfiguration() |
Modifier and Type | Method and Description |
---|---|
VpcConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIdList()
An array of strings containing the list of security groups.
|
List<String> |
getSubnetIdList()
An array of strings containing the Amazon VPC subnet IDs (e.g.,
subnet-0bb1c79de3EXAMPLE . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroupIdList(Collection<String> securityGroupIdList)
An array of strings containing the list of security groups.
|
void |
setSubnetIdList(Collection<String> subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g.,
subnet-0bb1c79de3EXAMPLE . |
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
withSecurityGroupIdList(Collection<String> securityGroupIdList)
An array of strings containing the list of security groups.
|
VpcConfiguration |
withSecurityGroupIdList(String... securityGroupIdList)
An array of strings containing the list of security groups.
|
VpcConfiguration |
withSubnetIdList(Collection<String> subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g.,
subnet-0bb1c79de3EXAMPLE . |
VpcConfiguration |
withSubnetIdList(String... subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g.,
subnet-0bb1c79de3EXAMPLE . |
public List<String> getSubnetIdList()
An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.
subnet-0bb1c79de3EXAMPLE
.public void setSubnetIdList(Collection<String> subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.
subnetIdList
- An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.public VpcConfiguration withSubnetIdList(String... subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIdList(java.util.Collection)
or withSubnetIdList(java.util.Collection)
if you want to
override the existing values.
subnetIdList
- An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.public VpcConfiguration withSubnetIdList(Collection<String> subnetIdList)
An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.
subnetIdList
- An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE
.public List<String> getSecurityGroupIdList()
An array of strings containing the list of security groups.
public void setSecurityGroupIdList(Collection<String> securityGroupIdList)
An array of strings containing the list of security groups.
securityGroupIdList
- An array of strings containing the list of security groups.public VpcConfiguration withSecurityGroupIdList(String... securityGroupIdList)
An array of strings containing the list of security groups.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIdList(java.util.Collection)
or withSecurityGroupIdList(java.util.Collection)
if you want to override the existing values.
securityGroupIdList
- An array of strings containing the list of security groups.public VpcConfiguration withSecurityGroupIdList(Collection<String> securityGroupIdList)
An array of strings containing the list of security groups.
securityGroupIdList
- An array of strings containing the list of security groups.public String toString()
toString
in class Object
Object.toString()
public VpcConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.