public class VpcConfigResponse
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
VPC configuration associated with your Lambda function.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
securityGroupIds
A list of security group IDs associated with the Lambda function.
|
private SdkInternalList<java.lang.String> |
subnetIds
A list of subnet IDs associated with the Lambda function.
|
private java.lang.String |
vpcId
The VPC ID associated with you Lambda function.
|
Constructor and Description |
---|
VpcConfigResponse() |
Modifier and Type | Method and Description |
---|---|
VpcConfigResponse |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getSecurityGroupIds()
A list of security group IDs associated with the Lambda function.
|
java.util.List<java.lang.String> |
getSubnetIds()
A list of subnet IDs associated with the Lambda function.
|
java.lang.String |
getVpcId()
The VPC ID associated with you Lambda function.
|
int |
hashCode() |
void |
setSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
void |
setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs associated with the Lambda function.
|
void |
setVpcId(java.lang.String vpcId)
The VPC ID associated with you Lambda function.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcConfigResponse |
withSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
VpcConfigResponse |
withSecurityGroupIds(java.lang.String... securityGroupIds)
A list of security group IDs associated with the Lambda function.
|
VpcConfigResponse |
withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs associated with the Lambda function.
|
VpcConfigResponse |
withSubnetIds(java.lang.String... subnetIds)
A list of subnet IDs associated with the Lambda function.
|
VpcConfigResponse |
withVpcId(java.lang.String vpcId)
The VPC ID associated with you Lambda function.
|
private SdkInternalList<java.lang.String> subnetIds
A list of subnet IDs associated with the Lambda function.
private SdkInternalList<java.lang.String> securityGroupIds
A list of security group IDs associated with the Lambda function.
private java.lang.String vpcId
The VPC ID associated with you Lambda function.
public java.util.List<java.lang.String> getSubnetIds()
A list of subnet IDs associated with the Lambda function.
public void setSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs associated with the Lambda function.
subnetIds
- A list of subnet IDs associated with the Lambda function.public VpcConfigResponse withSubnetIds(java.lang.String... subnetIds)
A list of subnet IDs associated with the 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
- A list of subnet IDs associated with the Lambda function.public VpcConfigResponse withSubnetIds(java.util.Collection<java.lang.String> subnetIds)
A list of subnet IDs associated with the Lambda function.
subnetIds
- A list of subnet IDs associated with the Lambda function.public java.util.List<java.lang.String> getSecurityGroupIds()
A list of security group IDs associated with the Lambda function.
public void setSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
securityGroupIds
- A list of security group IDs associated with the Lambda function.public VpcConfigResponse withSecurityGroupIds(java.lang.String... securityGroupIds)
A list of security group IDs associated with the Lambda function.
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 security group IDs associated with the Lambda function.public VpcConfigResponse withSecurityGroupIds(java.util.Collection<java.lang.String> securityGroupIds)
A list of security group IDs associated with the Lambda function.
securityGroupIds
- A list of security group IDs associated with the Lambda function.public void setVpcId(java.lang.String vpcId)
The VPC ID associated with you Lambda function.
vpcId
- The VPC ID associated with you Lambda function.public java.lang.String getVpcId()
The VPC ID associated with you Lambda function.
public VpcConfigResponse withVpcId(java.lang.String vpcId)
The VPC ID associated with you Lambda function.
vpcId
- The VPC ID associated with you Lambda function.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VpcConfigResponse clone()
clone
in class java.lang.Object