Interface AwsLambdaFunctionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsLambdaFunctionDetails.Builder,
,AwsLambdaFunctionDetails> SdkBuilder<AwsLambdaFunctionDetails.Builder,
,AwsLambdaFunctionDetails> SdkPojo
- Enclosing class:
AwsLambdaFunctionDetails
-
Method Summary
Modifier and TypeMethodDescriptionarchitectures
(Collection<Architecture> architectures) The instruction set architecture that the Amazon Web Services Lambda function supports.architectures
(Architecture... architectures) The instruction set architecture that the Amazon Web Services Lambda function supports.architecturesWithStrings
(String... architectures) The instruction set architecture that the Amazon Web Services Lambda function supports.architecturesWithStrings
(Collection<String> architectures) The instruction set architecture that the Amazon Web Services Lambda function supports.codeSha256
(String codeSha256) The SHA256 hash of the Amazon Web Services Lambda function's deployment package.executionRoleArn
(String executionRoleArn) The Amazon Web Services Lambda function's execution role.functionName
(String functionName) The name of the Amazon Web Services Lambda function.lastModifiedAt
(Instant lastModifiedAt) The date and time that a user last updated the configuration, in ISO 8601 formatThe Amazon Web Services Lambda function's layers.layers
(Collection<String> layers) The Amazon Web Services Lambda function's layers.packageType
(String packageType) The type of deployment package.packageType
(PackageType packageType) The type of deployment package.The runtime environment for the Amazon Web Services Lambda function.The runtime environment for the Amazon Web Services Lambda function.The version of the Amazon Web Services Lambda function.default AwsLambdaFunctionDetails.Builder
vpcConfig
(Consumer<LambdaVpcConfig.Builder> vpcConfig) The Amazon Web Services Lambda function's networking configuration.vpcConfig
(LambdaVpcConfig vpcConfig) The Amazon Web Services Lambda function's networking configuration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
architecturesWithStrings
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is
x86_64
.- Parameters:
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecturesWithStrings
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is
x86_64
.- Parameters:
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is
x86_64
.- Parameters:
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architectures
The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is
x86_64
.- Parameters:
architectures
- The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value isx86_64
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSha256
The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
- Parameters:
codeSha256
- The SHA256 hash of the Amazon Web Services Lambda function's deployment package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The Amazon Web Services Lambda function's execution role.
- Parameters:
executionRoleArn
- The Amazon Web Services Lambda function's execution role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionName
The name of the Amazon Web Services Lambda function.
- Parameters:
functionName
- The name of the Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
The date and time that a user last updated the configuration, in ISO 8601 format
- Parameters:
lastModifiedAt
- The date and time that a user last updated the configuration, in ISO 8601 format- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
- Parameters:
layers
- The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layers
The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
- Parameters:
layers
- The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packageType
The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive.- Parameters:
packageType
- The type of deployment package. Set toImage
for container image and setZip
for .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packageType
The type of deployment package. Set to
Image
for container image and setZip
for .zip file archive.- Parameters:
packageType
- The type of deployment package. Set toImage
for container image and setZip
for .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The runtime environment for the Amazon Web Services Lambda function.
- Parameters:
runtime
- The runtime environment for the Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The runtime environment for the Amazon Web Services Lambda function.
- Parameters:
runtime
- The runtime environment for the Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version of the Amazon Web Services Lambda function.
- Parameters:
version
- The version of the Amazon Web Services Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The Amazon Web Services Lambda function's networking configuration.
- Parameters:
vpcConfig
- The Amazon Web Services Lambda function's networking configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The Amazon Web Services Lambda function's networking configuration.
This is a convenience method that creates an instance of theLambdaVpcConfig.Builder
avoiding the need to create one manually viaLambdaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(LambdaVpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onLambdaVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-