@Generated(value="software.amazon.awssdk:codegen") public class VpcConfig extends Object implements StructuredPojo, ToCopyableBuilder<VpcConfig.Builder,VpcConfig>
If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
Modifier and Type | Class and Description |
---|---|
static interface |
VpcConfig.Builder |
Modifier and Type | Method and Description |
---|---|
static VpcConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<String> |
securityGroupIds()
A list of one or more security groups IDs in your VPC.
|
static Class<? extends VpcConfig.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
A list of one or more subnet IDs in your VPC.
|
VpcConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<String> subnetIds()
A list of one or more subnet IDs in your VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> securityGroupIds()
A list of one or more security groups IDs in your VPC.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public VpcConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpcConfig.Builder,VpcConfig>
public static VpcConfig.Builder builder()
public static Class<? extends VpcConfig.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.