public class VpcConfigResponse extends Object implements Serializable, Cloneable
VPC configuration associated with your Lambda function.
Constructor and Description |
---|
VpcConfigResponse() |
Modifier and Type | Method and Description |
---|---|
VpcConfigResponse |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroupIds()
A list of security group IDs associated with the Lambda function.
|
List<String> |
getSubnetIds()
A list of subnet IDs associated with the Lambda function.
|
String |
getVpcId()
The VPC ID associated with you Lambda function.
|
int |
hashCode() |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the Lambda function.
|
void |
setVpcId(String vpcId)
The VPC ID associated with you Lambda function.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcConfigResponse |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
VpcConfigResponse |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
VpcConfigResponse |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs associated with the Lambda function.
|
VpcConfigResponse |
withSubnetIds(String... subnetIds)
A list of subnet IDs associated with the Lambda function.
|
VpcConfigResponse |
withVpcId(String vpcId)
The VPC ID associated with you Lambda function.
|
public List<String> getSubnetIds()
Constraints:
Length: 0 - 16
public void setSubnetIds(Collection<String> subnetIds)
Constraints:
Length: 0 - 16
subnetIds
- A list of subnet IDs associated with the Lambda function.public VpcConfigResponse withSubnetIds(String... subnetIds)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 16
subnetIds
- A list of subnet IDs associated with the Lambda function.public VpcConfigResponse withSubnetIds(Collection<String> subnetIds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 16
subnetIds
- A list of subnet IDs associated with the Lambda function.public List<String> getSecurityGroupIds()
Constraints:
Length: 0 - 5
public void setSecurityGroupIds(Collection<String> securityGroupIds)
Constraints:
Length: 0 - 5
securityGroupIds
- A list of security group IDs associated with the Lambda function.public VpcConfigResponse withSecurityGroupIds(String... securityGroupIds)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
securityGroupIds
- A list of security group IDs associated with the Lambda function.public VpcConfigResponse withSecurityGroupIds(Collection<String> securityGroupIds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
securityGroupIds
- A list of security group IDs associated with the Lambda function.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The VPC ID associated with you Lambda function.public VpcConfigResponse withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The VPC ID associated with you Lambda function.public String toString()
toString
in class Object
Object.toString()
public VpcConfigResponse clone()
Copyright © 2016. All rights reserved.