public static interface AwsLambdaFunctionDetails.Builder extends SdkPojo, CopyableBuilder<AwsLambdaFunctionDetails.Builder,AwsLambdaFunctionDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsLambdaFunctionDetails.Builder |
architectures(Collection<String> architectures)
The instruction set architecture that the function uses.
|
AwsLambdaFunctionDetails.Builder |
architectures(String... architectures)
The instruction set architecture that the function uses.
|
AwsLambdaFunctionDetails.Builder |
code(AwsLambdaFunctionCode code)
An
AwsLambdaFunctionCode object. |
default AwsLambdaFunctionDetails.Builder |
code(Consumer<AwsLambdaFunctionCode.Builder> code)
An
AwsLambdaFunctionCode object. |
AwsLambdaFunctionDetails.Builder |
codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
|
AwsLambdaFunctionDetails.Builder |
deadLetterConfig(AwsLambdaFunctionDeadLetterConfig deadLetterConfig)
The function's dead letter queue.
|
default AwsLambdaFunctionDetails.Builder |
deadLetterConfig(Consumer<AwsLambdaFunctionDeadLetterConfig.Builder> deadLetterConfig)
The function's dead letter queue.
|
AwsLambdaFunctionDetails.Builder |
environment(AwsLambdaFunctionEnvironment environment)
The function's environment variables.
|
default AwsLambdaFunctionDetails.Builder |
environment(Consumer<AwsLambdaFunctionEnvironment.Builder> environment)
The function's environment variables.
|
AwsLambdaFunctionDetails.Builder |
functionName(String functionName)
The name of the function.
|
AwsLambdaFunctionDetails.Builder |
handler(String handler)
The function that Lambda calls to begin executing your function.
|
AwsLambdaFunctionDetails.Builder |
kmsKeyArn(String kmsKeyArn)
The KMS key that is used to encrypt the function's environment variables.
|
AwsLambdaFunctionDetails.Builder |
lastModified(String lastModified)
Indicates when the function was last updated.
|
AwsLambdaFunctionDetails.Builder |
layers(AwsLambdaFunctionLayer... layers)
The function's layers.
|
AwsLambdaFunctionDetails.Builder |
layers(Collection<AwsLambdaFunctionLayer> layers)
The function's layers.
|
AwsLambdaFunctionDetails.Builder |
layers(Consumer<AwsLambdaFunctionLayer.Builder>... layers)
The function's layers.
|
AwsLambdaFunctionDetails.Builder |
masterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
|
AwsLambdaFunctionDetails.Builder |
memorySize(Integer memorySize)
The memory that is allocated to the function.
|
AwsLambdaFunctionDetails.Builder |
packageType(String packageType)
The type of deployment package that's used to deploy the function code to Lambda.
|
AwsLambdaFunctionDetails.Builder |
revisionId(String revisionId)
The latest updated revision of the function or alias.
|
AwsLambdaFunctionDetails.Builder |
role(String role)
The function's execution role.
|
AwsLambdaFunctionDetails.Builder |
runtime(String runtime)
The runtime environment for the Lambda function.
|
AwsLambdaFunctionDetails.Builder |
timeout(Integer timeout)
The amount of time that Lambda allows a function to run before stopping it.
|
AwsLambdaFunctionDetails.Builder |
tracingConfig(AwsLambdaFunctionTracingConfig tracingConfig)
The function's X-Ray tracing configuration.
|
default AwsLambdaFunctionDetails.Builder |
tracingConfig(Consumer<AwsLambdaFunctionTracingConfig.Builder> tracingConfig)
The function's X-Ray tracing configuration.
|
AwsLambdaFunctionDetails.Builder |
version(String version)
The version of the Lambda function.
|
AwsLambdaFunctionDetails.Builder |
vpcConfig(AwsLambdaFunctionVpcConfig vpcConfig)
The function's networking configuration.
|
default AwsLambdaFunctionDetails.Builder |
vpcConfig(Consumer<AwsLambdaFunctionVpcConfig.Builder> vpcConfig)
The function's networking configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsLambdaFunctionDetails.Builder code(AwsLambdaFunctionCode code)
An AwsLambdaFunctionCode object.
code - An AwsLambdaFunctionCode object.default AwsLambdaFunctionDetails.Builder code(Consumer<AwsLambdaFunctionCode.Builder> code)
An AwsLambdaFunctionCode object.
AwsLambdaFunctionCode.Builder avoiding
the need to create one manually via AwsLambdaFunctionCode.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to code(AwsLambdaFunctionCode).
code - a consumer that will call methods on AwsLambdaFunctionCode.Buildercode(AwsLambdaFunctionCode)AwsLambdaFunctionDetails.Builder codeSha256(String codeSha256)
The SHA256 hash of the function's deployment package.
codeSha256 - The SHA256 hash of the function's deployment package.AwsLambdaFunctionDetails.Builder deadLetterConfig(AwsLambdaFunctionDeadLetterConfig deadLetterConfig)
The function's dead letter queue.
deadLetterConfig - The function's dead letter queue.default AwsLambdaFunctionDetails.Builder deadLetterConfig(Consumer<AwsLambdaFunctionDeadLetterConfig.Builder> deadLetterConfig)
The function's dead letter queue.
This is a convenience method that creates an instance of theAwsLambdaFunctionDeadLetterConfig.Builder avoiding the need to create one manually via
AwsLambdaFunctionDeadLetterConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to deadLetterConfig(AwsLambdaFunctionDeadLetterConfig).
deadLetterConfig - a consumer that will call methods on AwsLambdaFunctionDeadLetterConfig.BuilderdeadLetterConfig(AwsLambdaFunctionDeadLetterConfig)AwsLambdaFunctionDetails.Builder environment(AwsLambdaFunctionEnvironment environment)
The function's environment variables.
environment - The function's environment variables.default AwsLambdaFunctionDetails.Builder environment(Consumer<AwsLambdaFunctionEnvironment.Builder> environment)
The function's environment variables.
This is a convenience method that creates an instance of theAwsLambdaFunctionEnvironment.Builder
avoiding the need to create one manually via AwsLambdaFunctionEnvironment.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to environment(AwsLambdaFunctionEnvironment).
environment - a consumer that will call methods on AwsLambdaFunctionEnvironment.Builderenvironment(AwsLambdaFunctionEnvironment)AwsLambdaFunctionDetails.Builder functionName(String functionName)
The name of the function.
functionName - The name of the function.AwsLambdaFunctionDetails.Builder handler(String handler)
The function that Lambda calls to begin executing your function.
handler - The function that Lambda calls to begin executing your function.AwsLambdaFunctionDetails.Builder kmsKeyArn(String kmsKeyArn)
The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.
kmsKeyArn - The KMS key that is used to encrypt the function's environment variables. This key is only returned if
you've configured a customer managed customer managed key.AwsLambdaFunctionDetails.Builder lastModified(String lastModified)
Indicates when the function was last updated.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
lastModified - Indicates when the function was last updated.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsLambdaFunctionDetails.Builder layers(Collection<AwsLambdaFunctionLayer> layers)
The function's layers.
layers - The function's layers.AwsLambdaFunctionDetails.Builder layers(AwsLambdaFunctionLayer... layers)
The function's layers.
layers - The function's layers.AwsLambdaFunctionDetails.Builder layers(Consumer<AwsLambdaFunctionLayer.Builder>... layers)
The function's layers.
This is a convenience method that creates an instance of theAwsLambdaFunctionLayer.Builder avoiding the need to
create one manually via
AwsLambdaFunctionLayer.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #layers(List.
layers - a consumer that will call methods on
AwsLambdaFunctionLayer.Builder#layers(java.util.Collection) AwsLambdaFunctionDetails.Builder masterArn(String masterArn)
For Lambda@Edge functions, the ARN of the master function.
masterArn - For Lambda@Edge functions, the ARN of the master function.AwsLambdaFunctionDetails.Builder memorySize(Integer memorySize)
The memory that is allocated to the function.
memorySize - The memory that is allocated to the function.AwsLambdaFunctionDetails.Builder revisionId(String revisionId)
The latest updated revision of the function or alias.
revisionId - The latest updated revision of the function or alias.AwsLambdaFunctionDetails.Builder role(String role)
The function's execution role.
role - The function's execution role.AwsLambdaFunctionDetails.Builder runtime(String runtime)
The runtime environment for the Lambda function.
runtime - The runtime environment for the Lambda function.AwsLambdaFunctionDetails.Builder timeout(Integer timeout)
The amount of time that Lambda allows a function to run before stopping it.
timeout - The amount of time that Lambda allows a function to run before stopping it.AwsLambdaFunctionDetails.Builder tracingConfig(AwsLambdaFunctionTracingConfig tracingConfig)
The function's X-Ray tracing configuration.
tracingConfig - The function's X-Ray tracing configuration.default AwsLambdaFunctionDetails.Builder tracingConfig(Consumer<AwsLambdaFunctionTracingConfig.Builder> tracingConfig)
The function's X-Ray tracing configuration.
This is a convenience method that creates an instance of theAwsLambdaFunctionTracingConfig.Builder
avoiding the need to create one manually via AwsLambdaFunctionTracingConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to tracingConfig(AwsLambdaFunctionTracingConfig).
tracingConfig - a consumer that will call methods on AwsLambdaFunctionTracingConfig.BuildertracingConfig(AwsLambdaFunctionTracingConfig)AwsLambdaFunctionDetails.Builder vpcConfig(AwsLambdaFunctionVpcConfig vpcConfig)
The function's networking configuration.
vpcConfig - The function's networking configuration.default AwsLambdaFunctionDetails.Builder vpcConfig(Consumer<AwsLambdaFunctionVpcConfig.Builder> vpcConfig)
The function's networking configuration.
This is a convenience method that creates an instance of theAwsLambdaFunctionVpcConfig.Builder
avoiding the need to create one manually via AwsLambdaFunctionVpcConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to vpcConfig(AwsLambdaFunctionVpcConfig).
vpcConfig - a consumer that will call methods on AwsLambdaFunctionVpcConfig.BuildervpcConfig(AwsLambdaFunctionVpcConfig)AwsLambdaFunctionDetails.Builder version(String version)
The version of the Lambda function.
version - The version of the Lambda function.AwsLambdaFunctionDetails.Builder architectures(Collection<String> architectures)
The instruction set architecture that the function uses. Valid values are x86_64 or
arm64.
architectures - The instruction set architecture that the function uses. Valid values are x86_64 or
arm64.AwsLambdaFunctionDetails.Builder architectures(String... architectures)
The instruction set architecture that the function uses. Valid values are x86_64 or
arm64.
architectures - The instruction set architecture that the function uses. Valid values are x86_64 or
arm64.AwsLambdaFunctionDetails.Builder packageType(String packageType)
The type of deployment package that's used to deploy the function code to Lambda. Set to Image
for a container image and Zip for a .zip file archive.
packageType - The type of deployment package that's used to deploy the function code to Lambda. Set to
Image for a container image and Zip for a .zip file archive.Copyright © 2023. All rights reserved.