@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
The VPC security groups and subnets that are attached to a Lambda function. For more information, see VPC Settings.
| Constructor and Description |
|---|
VpcConfig() |
| Modifier and Type | Method and Description |
|---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of VPC security groups IDs.
|
List<String> |
getSubnetIds()
A list of VPC subnet IDs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security groups IDs.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security groups IDs.
|
VpcConfig |
withSecurityGroupIds(String... securityGroupIds)
A list of VPC security groups IDs.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs.
|
VpcConfig |
withSubnetIds(String... subnetIds)
A list of VPC subnet IDs.
|
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 VpcConfig 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 VpcConfig 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 VpcConfig 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 VpcConfig withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security groups IDs.
securityGroupIds - A list of VPC security groups IDs.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.