@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigResponse extends Object implements Serializable, Cloneable, StructuredPojo
The VPC security groups and subnets attached to a Lambda function.
| Constructor and Description | 
|---|
VpcConfigResponse()  | 
| Modifier and Type | Method and Description | 
|---|---|
VpcConfigResponse | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<String> | 
getSecurityGroupIds()
 A list of VPC security groups IDs. 
 | 
List<String> | 
getSubnetIds()
 A list of VPC subnet IDs. 
 | 
String | 
getVpcId()
 The ID of the VPC. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setSecurityGroupIds(Collection<String> securityGroupIds)
 A list of VPC security groups IDs. 
 | 
void | 
setSubnetIds(Collection<String> subnetIds)
 A list of VPC subnet IDs. 
 | 
void | 
setVpcId(String vpcId)
 The ID of the VPC. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
VpcConfigResponse | 
withSecurityGroupIds(Collection<String> securityGroupIds)
 A list of VPC security groups IDs. 
 | 
VpcConfigResponse | 
withSecurityGroupIds(String... securityGroupIds)
 A list of VPC security groups IDs. 
 | 
VpcConfigResponse | 
withSubnetIds(Collection<String> subnetIds)
 A list of VPC subnet IDs. 
 | 
VpcConfigResponse | 
withSubnetIds(String... subnetIds)
 A list of VPC subnet IDs. 
 | 
VpcConfigResponse | 
withVpcId(String vpcId)
 The ID of the VPC. 
 | 
public List<String> getSubnetIds()
A list of VPC subnet IDs.
public void setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs.
subnetIds - A list of VPC subnet IDs.public VpcConfigResponse withSubnetIds(String... subnetIds)
A list of VPC subnet IDs.
 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 - A list of VPC subnet IDs.public VpcConfigResponse withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs.
subnetIds - A list of VPC subnet IDs.public List<String> getSecurityGroupIds()
A list of VPC security groups IDs.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security groups IDs.
securityGroupIds - A list of VPC security groups IDs.public VpcConfigResponse withSecurityGroupIds(String... securityGroupIds)
A list of VPC security groups 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 - A list of VPC security groups IDs.public VpcConfigResponse withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security groups IDs.
securityGroupIds - A list of VPC security groups IDs.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.public String getVpcId()
The ID of the VPC.
public VpcConfigResponse withVpcId(String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.public String toString()
toString in class ObjectObject.toString()public VpcConfigResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.