public static interface UpdateFunctionCodeResponse.Builder extends LambdaResponse.Builder, CopyableBuilder<UpdateFunctionCodeResponse.Builder,UpdateFunctionCodeResponse>
Modifier and Type | Method and Description |
---|---|
UpdateFunctionCodeResponse.Builder |
codeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
|
UpdateFunctionCodeResponse.Builder |
codeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
|
default UpdateFunctionCodeResponse.Builder |
deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS
topic.
|
UpdateFunctionCodeResponse.Builder |
deadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS
topic.
|
UpdateFunctionCodeResponse.Builder |
description(String description)
The user-provided description.
|
default UpdateFunctionCodeResponse.Builder |
environment(Consumer<EnvironmentResponse.Builder> environment)
The parent object that contains your environment's configuration settings.
|
UpdateFunctionCodeResponse.Builder |
environment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
|
UpdateFunctionCodeResponse.Builder |
functionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
|
UpdateFunctionCodeResponse.Builder |
functionName(String functionName)
The name of the function.
|
UpdateFunctionCodeResponse.Builder |
handler(String handler)
The function Lambda calls to begin executing your function.
|
UpdateFunctionCodeResponse.Builder |
kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
|
UpdateFunctionCodeResponse.Builder |
lastModified(String lastModified)
The time stamp of the last time you updated the function.
|
UpdateFunctionCodeResponse.Builder |
masterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
|
UpdateFunctionCodeResponse.Builder |
memorySize(Integer memorySize)
The memory size, in MB, you configured for the function.
|
UpdateFunctionCodeResponse.Builder |
revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
UpdateFunctionCodeResponse.Builder |
role(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access
any other Amazon Web Services (AWS) resources.
|
UpdateFunctionCodeResponse.Builder |
runtime(Runtime runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionCodeResponse.Builder |
runtime(String runtime)
The runtime environment for the Lambda function.
|
UpdateFunctionCodeResponse.Builder |
timeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
default UpdateFunctionCodeResponse.Builder |
tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The parent object that contains your function's tracing settings.
|
UpdateFunctionCodeResponse.Builder |
tracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
|
UpdateFunctionCodeResponse.Builder |
version(String version)
The version of the Lambda function.
|
default UpdateFunctionCodeResponse.Builder |
vpcConfig(Consumer<VpcConfigResponse.Builder> vpcConfig)
VPC configuration associated with your Lambda function.
|
UpdateFunctionCodeResponse.Builder |
vpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateFunctionCodeResponse.Builder functionName(String functionName)
The name of the function. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the function. Note that the length constraint applies only to the ARN. If you specify only
the function name, it is limited to 64 characters in length.UpdateFunctionCodeResponse.Builder functionArn(String functionArn)
The Amazon Resource Name (ARN) assigned to the function.
functionArn
- The Amazon Resource Name (ARN) assigned to the function.UpdateFunctionCodeResponse.Builder runtime(String runtime)
The runtime environment for the Lambda function.
UpdateFunctionCodeResponse.Builder runtime(Runtime runtime)
The runtime environment for the Lambda function.
UpdateFunctionCodeResponse.Builder role(String role)
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.
role
- The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to
access any other Amazon Web Services (AWS) resources.UpdateFunctionCodeResponse.Builder handler(String handler)
The function Lambda calls to begin executing your function.
handler
- The function Lambda calls to begin executing your function.UpdateFunctionCodeResponse.Builder codeSize(Long codeSize)
The size, in bytes, of the function .zip file you uploaded.
codeSize
- The size, in bytes, of the function .zip file you uploaded.UpdateFunctionCodeResponse.Builder description(String description)
The user-provided description.
description
- The user-provided description.UpdateFunctionCodeResponse.Builder timeout(Integer timeout)
The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
timeout
- The function execution time at which Lambda should terminate the function. Because the execution time
has cost implications, we recommend you set this value based on your expected execution time. The
default is 3 seconds.UpdateFunctionCodeResponse.Builder memorySize(Integer memorySize)
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
memorySize
- The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.UpdateFunctionCodeResponse.Builder lastModified(String lastModified)
The time stamp of the last time you updated the function. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats.
lastModified
- The time stamp of the last time you updated the function. The time stamp is conveyed as a string
complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more
information, see Date and Time Formats.UpdateFunctionCodeResponse.Builder codeSha256(String codeSha256)
It is the SHA256 hash of your function deployment package.
codeSha256
- It is the SHA256 hash of your function deployment package.UpdateFunctionCodeResponse.Builder version(String version)
The version of the Lambda function.
version
- The version of the Lambda function.UpdateFunctionCodeResponse.Builder vpcConfig(VpcConfigResponse vpcConfig)
VPC configuration associated with your Lambda function.
vpcConfig
- VPC configuration associated with your Lambda function.default UpdateFunctionCodeResponse.Builder vpcConfig(Consumer<VpcConfigResponse.Builder> vpcConfig)
VPC configuration associated with your Lambda function.
This is a convenience that creates an instance of theVpcConfigResponse.Builder
avoiding the need to
create one manually via VpcConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to vpcConfig(VpcConfigResponse)
.vpcConfig
- a consumer that will call methods on VpcConfigResponse.Builder
vpcConfig(VpcConfigResponse)
UpdateFunctionCodeResponse.Builder deadLetterConfig(DeadLetterConfig deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
deadLetterConfig
- The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon
SNS topic.default UpdateFunctionCodeResponse.Builder deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
This is a convenience that creates an instance of theDeadLetterConfig.Builder
avoiding the need to
create one manually via DeadLetterConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to deadLetterConfig(DeadLetterConfig)
.deadLetterConfig
- a consumer that will call methods on DeadLetterConfig.Builder
deadLetterConfig(DeadLetterConfig)
UpdateFunctionCodeResponse.Builder environment(EnvironmentResponse environment)
The parent object that contains your environment's configuration settings.
environment
- The parent object that contains your environment's configuration settings.default UpdateFunctionCodeResponse.Builder environment(Consumer<EnvironmentResponse.Builder> environment)
The parent object that contains your environment's configuration settings.
This is a convenience that creates an instance of theEnvironmentResponse.Builder
avoiding the need
to create one manually via EnvironmentResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to environment(EnvironmentResponse)
.environment
- a consumer that will call methods on EnvironmentResponse.Builder
environment(EnvironmentResponse)
UpdateFunctionCodeResponse.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables.
If empty, it means you are using the AWS Lambda default service key.UpdateFunctionCodeResponse.Builder tracingConfig(TracingConfigResponse tracingConfig)
The parent object that contains your function's tracing settings.
tracingConfig
- The parent object that contains your function's tracing settings.default UpdateFunctionCodeResponse.Builder tracingConfig(Consumer<TracingConfigResponse.Builder> tracingConfig)
The parent object that contains your function's tracing settings.
This is a convenience that creates an instance of theTracingConfigResponse.Builder
avoiding the need
to create one manually via TracingConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to tracingConfig(TracingConfigResponse)
.tracingConfig
- a consumer that will call methods on TracingConfigResponse.Builder
tracingConfig(TracingConfigResponse)
UpdateFunctionCodeResponse.Builder masterArn(String masterArn)
Returns the ARN (Amazon Resource Name) of the master function.
masterArn
- Returns the ARN (Amazon Resource Name) of the master function.UpdateFunctionCodeResponse.Builder revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.