public static interface VpcConfig.Builder extends SdkPojo, CopyableBuilder<VpcConfig.Builder,VpcConfig>
| Modifier and Type | Method and Description |
|---|---|
VpcConfig.Builder |
securityGroups(Collection<SecurityGroup> securityGroups)
The identifier of the security group attached to the Lambda function.
|
VpcConfig.Builder |
securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
The identifier of the security group attached to the Lambda function.
|
VpcConfig.Builder |
securityGroups(SecurityGroup... securityGroups)
The identifier of the security group attached to the Lambda function.
|
VpcConfig.Builder |
subnetIds(Collection<String> subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
|
VpcConfig.Builder |
subnetIds(String... subnetIds)
The identifiers of the subnets that are associated with your Lambda function.
|
VpcConfig.Builder |
vpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVpcConfig.Builder subnetIds(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.VpcConfig.Builder subnetIds(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.VpcConfig.Builder vpcId(String vpcId)
The identifier of the Amazon Virtual Private Cloud.
vpcId - The identifier of the Amazon Virtual Private Cloud.VpcConfig.Builder securityGroups(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.VpcConfig.Builder securityGroups(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.VpcConfig.Builder securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
The identifier of the security group attached to the Lambda function.
This is a convenience method that creates an instance of theSecurityGroup.Builder avoiding the need to create one
manually via SecurityGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #securityGroups(List.
securityGroups - a consumer that will call methods on
SecurityGroup.Builder#securityGroups(java.util.Collection) Copyright © 2023. All rights reserved.