Interface VpcConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcConfig.Builder,
,VpcConfig> SdkBuilder<VpcConfig.Builder,
,VpcConfig> SdkPojo
- Enclosing class:
VpcConfig
public static interface VpcConfig.Builder
extends SdkPojo, CopyableBuilder<VpcConfig.Builder,VpcConfig>
-
Method Summary
Modifier and TypeMethodDescriptionsecurityGroups
(Collection<SecurityGroup> securityGroups) The identifier of the security group attached to the Lambda function.securityGroups
(Consumer<SecurityGroup.Builder>... securityGroups) The identifier of the security group attached to the Lambda function.securityGroups
(SecurityGroup... securityGroups) The identifier of the security group attached to the Lambda function.The identifiers of the subnets that are associated with your Lambda function.subnetIds
(Collection<String> subnetIds) The identifiers of the subnets that are associated with your Lambda function.The identifier of the Amazon Virtual Private Cloud.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
subnetIds
The identifiers of the subnets that are associated with your Lambda function.
- Parameters:
subnetIds
- The identifiers of the subnets that are associated with your Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The identifiers of the subnets that are associated with your Lambda function.
- Parameters:
subnetIds
- The identifiers of the subnets that are associated with your Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The identifier of the Amazon Virtual Private Cloud.
- Parameters:
vpcId
- The identifier of the Amazon Virtual Private Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The identifier of the security group attached to the Lambda function.
- Parameters:
securityGroups
- The identifier of the security group attached to the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The identifier of the security group attached to the Lambda function.
- Parameters:
securityGroups
- The identifier of the security group attached to the Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecurityGroups(List<SecurityGroup>)
.- Parameters:
securityGroups
- a consumer that will call methods onSecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-