@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcConfigResponse extends Object implements Serializable, Cloneable, StructuredPojo
The VPC security groups and subnets that are attached to a Lambda function.
Constructor and Description |
---|
VpcConfigResponse() |
Modifier and Type | Method and Description |
---|---|
VpcConfigResponse |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIpv6AllowedForDualStack()
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
List<String> |
getSecurityGroupIds()
A list of VPC security group IDs.
|
List<String> |
getSubnetIds()
A list of VPC subnet IDs.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isIpv6AllowedForDualStack()
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpv6AllowedForDualStack(Boolean ipv6AllowedForDualStack)
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group 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 |
withIpv6AllowedForDualStack(Boolean ipv6AllowedForDualStack)
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
VpcConfigResponse |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs.
|
VpcConfigResponse |
withSecurityGroupIds(String... securityGroupIds)
A list of VPC security group 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 group IDs.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs.
securityGroupIds
- A list of VPC security group IDs.public VpcConfigResponse withSecurityGroupIds(String... securityGroupIds)
A list of VPC security group 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 group IDs.public VpcConfigResponse withSecurityGroupIds(Collection<String> securityGroupIds)
A list of VPC security group IDs.
securityGroupIds
- A list of VPC security group 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 void setIpv6AllowedForDualStack(Boolean ipv6AllowedForDualStack)
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
ipv6AllowedForDualStack
- Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.public Boolean getIpv6AllowedForDualStack()
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
public VpcConfigResponse withIpv6AllowedForDualStack(Boolean ipv6AllowedForDualStack)
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
ipv6AllowedForDualStack
- Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.public Boolean isIpv6AllowedForDualStack()
Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
public String toString()
toString
in class Object
Object.toString()
public VpcConfigResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.