@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfig extends Object implements Serializable, Cloneable, StructuredPojo
Amazon Virtual Private Cloud configuration details associated with your Lambda function.
Constructor and Description |
---|
VpcConfig() |
Modifier and Type | Method and Description |
---|---|
VpcConfig |
clone() |
boolean |
equals(Object obj) |
List<SecurityGroup> |
getSecurityGroups()
The identifier of the security group attached to the Lambda function.
|
List<String> |
getSubnetIds()
The identifiers of the subnets that are associated with your Lambda function.
|
String |
getVpcId()
The identifier of the Amazon Virtual Private Cloud.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSecurityGroups(Collection<SecurityGroup> securityGroups)
The identifier of the security group attached to the Lambda function.
|
void |
setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
|
void |
setVpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfig |
withSecurityGroups(Collection<SecurityGroup> securityGroups)
The identifier of the security group attached to the Lambda function.
|
VpcConfig |
withSecurityGroups(SecurityGroup... securityGroups)
The identifier of the security group attached to the Lambda function.
|
VpcConfig |
withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
|
VpcConfig |
withSubnetIds(String... subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
|
VpcConfig |
withVpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
|
public List<String> getSubnetIds()
The identifiers of the subnets that are associated with your Lambda function.
public void setSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
subnetIds
- The identifiers of the subnets that are associated with your Lambda function.public VpcConfig withSubnetIds(String... subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
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 identifiers of the subnets that are associated with your Lambda function.public VpcConfig withSubnetIds(Collection<String> subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
subnetIds
- The identifiers of the subnets that are associated with your Lambda function.public void setVpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
vpcId
- The identifier of the Amazon Virtual Private Cloud.public String getVpcId()
The identifier of the Amazon Virtual Private Cloud.
public VpcConfig withVpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
vpcId
- The identifier of the Amazon Virtual Private Cloud.public List<SecurityGroup> getSecurityGroups()
The identifier of the security group attached to the Lambda function.
public void setSecurityGroups(Collection<SecurityGroup> securityGroups)
The identifier of the security group attached to the Lambda function.
securityGroups
- The identifier of the security group attached to the Lambda function.public VpcConfig withSecurityGroups(SecurityGroup... securityGroups)
The identifier of the security group attached to the Lambda function.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The identifier of the security group attached to the Lambda function.public VpcConfig withSecurityGroups(Collection<SecurityGroup> securityGroups)
The identifier of the security group attached to the Lambda function.
securityGroups
- The identifier of the security group attached to the Lambda function.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.