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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcConfig.BuildersecurityGroups(Collection<SecurityGroup> securityGroups)The identifier of the security group attached to the Lambda function.VpcConfig.BuildersecurityGroups(Consumer<SecurityGroup.Builder>... securityGroups)The identifier of the security group attached to the Lambda function.VpcConfig.BuildersecurityGroups(SecurityGroup... securityGroups)The identifier of the security group attached to the Lambda function.VpcConfig.BuildersubnetIds(String... subnetIds)The identifiers of the subnets that are associated with your Lambda function.VpcConfig.BuildersubnetIds(Collection<String> subnetIds)The identifiers of the subnets that are associated with your Lambda function.VpcConfig.BuildervpcId(String vpcId)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 Detail
-
subnetIds
VpcConfig.Builder subnetIds(Collection<String> 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
VpcConfig.Builder subnetIds(String... 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
VpcConfig.Builder vpcId(String 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
VpcConfig.Builder securityGroups(Collection<SecurityGroup> 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
VpcConfig.Builder securityGroups(SecurityGroup... 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
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.Builderavoiding the need to create one manually viaSecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#securityGroups(List.) - 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:
#securityGroups(java.util.Collection)
-
-