Interface AwsLambdaFunctionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>,SdkBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>,SdkPojo
- Enclosing class:
- AwsLambdaFunctionDetails
public static interface AwsLambdaFunctionDetails.Builder extends SdkPojo, CopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsLambdaFunctionDetails.Builderarchitectures(Collection<Architecture> architectures)The instruction set architecture that the Amazon Web Services Lambda function supports.AwsLambdaFunctionDetails.Builderarchitectures(Architecture... architectures)The instruction set architecture that the Amazon Web Services Lambda function supports.AwsLambdaFunctionDetails.BuilderarchitecturesWithStrings(String... architectures)The instruction set architecture that the Amazon Web Services Lambda function supports.AwsLambdaFunctionDetails.BuilderarchitecturesWithStrings(Collection<String> architectures)The instruction set architecture that the Amazon Web Services Lambda function supports.AwsLambdaFunctionDetails.BuildercodeSha256(String codeSha256)The SHA256 hash of the Amazon Web Services Lambda function's deployment package.AwsLambdaFunctionDetails.BuilderexecutionRoleArn(String executionRoleArn)The Amazon Web Services Lambda function's execution role.AwsLambdaFunctionDetails.BuilderfunctionName(String functionName)The name of the Amazon Web Services Lambda function.AwsLambdaFunctionDetails.BuilderlastModifiedAt(Instant lastModifiedAt)The date and time that a user last updated the configuration, in ISO 8601 formatAwsLambdaFunctionDetails.Builderlayers(String... layers)The Amazon Web Services Lambda function's layers.AwsLambdaFunctionDetails.Builderlayers(Collection<String> layers)The Amazon Web Services Lambda function's layers.AwsLambdaFunctionDetails.BuilderpackageType(String packageType)The type of deployment package.AwsLambdaFunctionDetails.BuilderpackageType(PackageType packageType)The type of deployment package.AwsLambdaFunctionDetails.Builderruntime(String runtime)The runtime environment for the Amazon Web Services Lambda function.AwsLambdaFunctionDetails.Builderruntime(Runtime runtime)The runtime environment for the Amazon Web Services Lambda function.AwsLambdaFunctionDetails.Builderversion(String version)The version of the Amazon Web Services Lambda function.default AwsLambdaFunctionDetails.BuildervpcConfig(Consumer<LambdaVpcConfig.Builder> vpcConfig)The Amazon Web Services Lambda function's networking configuration.AwsLambdaFunctionDetails.BuildervpcConfig(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, sdkFields
-
-
-
-
Method Detail
-
architecturesWithStrings
AwsLambdaFunctionDetails.Builder architecturesWithStrings(Collection<String> 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.
-
architecturesWithStrings
AwsLambdaFunctionDetails.Builder architecturesWithStrings(String... 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
AwsLambdaFunctionDetails.Builder architectures(Collection<Architecture> 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
AwsLambdaFunctionDetails.Builder architectures(Architecture... 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
AwsLambdaFunctionDetails.Builder codeSha256(String 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
AwsLambdaFunctionDetails.Builder executionRoleArn(String 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
AwsLambdaFunctionDetails.Builder functionName(String 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
AwsLambdaFunctionDetails.Builder lastModifiedAt(Instant 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
AwsLambdaFunctionDetails.Builder layers(Collection<String> 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
AwsLambdaFunctionDetails.Builder layers(String... 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
AwsLambdaFunctionDetails.Builder packageType(String packageType)
The type of deployment package. Set to
Imagefor container image and setZipfor .zip file archive.- Parameters:
packageType- The type of deployment package. Set toImagefor container image and setZipfor .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType,PackageType
-
packageType
AwsLambdaFunctionDetails.Builder packageType(PackageType packageType)
The type of deployment package. Set to
Imagefor container image and setZipfor .zip file archive.- Parameters:
packageType- The type of deployment package. Set toImagefor container image and setZipfor .zip file archive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PackageType,PackageType
-
runtime
AwsLambdaFunctionDetails.Builder runtime(String runtime)
The runtime environment for the Amazon Web Services Lambda function.
-
runtime
AwsLambdaFunctionDetails.Builder runtime(Runtime runtime)
The runtime environment for the Amazon Web Services Lambda function.
-
version
AwsLambdaFunctionDetails.Builder version(String 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
AwsLambdaFunctionDetails.Builder vpcConfig(LambdaVpcConfig 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
default AwsLambdaFunctionDetails.Builder vpcConfig(Consumer<LambdaVpcConfig.Builder> vpcConfig)
The Amazon Web Services Lambda function's networking configuration.
This is a convenience method that creates an instance of theLambdaVpcConfig.Builderavoiding the need to create one manually viaLambdaVpcConfig.builder().When the
Consumercompletes,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:
vpcConfig(LambdaVpcConfig)
-
-