public static interface UpdateFunctionCodeRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<UpdateFunctionCodeRequest.Builder,UpdateFunctionCodeRequest>
Modifier and Type | Method and Description |
---|---|
UpdateFunctionCodeRequest.Builder |
architectures(Architecture... architectures)
The instruction set architecture that the function supports.
|
UpdateFunctionCodeRequest.Builder |
architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports.
|
UpdateFunctionCodeRequest.Builder |
architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports.
|
UpdateFunctionCodeRequest.Builder |
architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports.
|
UpdateFunctionCodeRequest.Builder |
dryRun(Boolean dryRun)
Set to true to validate the request parameters and access permissions without modifying the function code.
|
UpdateFunctionCodeRequest.Builder |
functionName(String functionName)
The name of the Lambda function.
|
UpdateFunctionCodeRequest.Builder |
imageUri(String imageUri)
URI of a container image in the Amazon ECR registry.
|
UpdateFunctionCodeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateFunctionCodeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateFunctionCodeRequest.Builder |
publish(Boolean publish)
Set to true to publish a new version of the function after updating the code.
|
UpdateFunctionCodeRequest.Builder |
revisionId(String revisionId)
Only update the function if the revision ID matches the ID that's specified.
|
UpdateFunctionCodeRequest.Builder |
s3Bucket(String s3Bucket)
An Amazon S3 bucket in the same Amazon Web Services Region as your function.
|
UpdateFunctionCodeRequest.Builder |
s3Key(String s3Key)
The Amazon S3 key of the deployment package.
|
UpdateFunctionCodeRequest.Builder |
s3ObjectVersion(String s3ObjectVersion)
For versioned objects, the version of the deployment package object to use.
|
UpdateFunctionCodeRequest.Builder |
zipFile(SdkBytes zipFile)
The base64-encoded contents of the deployment package.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateFunctionCodeRequest.Builder functionName(String functionName)
The name of the Lambda function.
Name formats
Function name - my-function
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the Lambda function.
Name formats
Function name - my-function
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
UpdateFunctionCodeRequest.Builder zipFile(SdkBytes zipFile)
The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.
zipFile
- The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services
CLI clients handle the encoding for you.UpdateFunctionCodeRequest.Builder s3Bucket(String s3Bucket)
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
s3Bucket
- An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a
different Amazon Web Services account.UpdateFunctionCodeRequest.Builder s3Key(String s3Key)
The Amazon S3 key of the deployment package.
s3Key
- The Amazon S3 key of the deployment package.UpdateFunctionCodeRequest.Builder s3ObjectVersion(String s3ObjectVersion)
For versioned objects, the version of the deployment package object to use.
s3ObjectVersion
- For versioned objects, the version of the deployment package object to use.UpdateFunctionCodeRequest.Builder imageUri(String imageUri)
URI of a container image in the Amazon ECR registry.
imageUri
- URI of a container image in the Amazon ECR registry.UpdateFunctionCodeRequest.Builder publish(Boolean publish)
Set to true to publish a new version of the function after updating the code. This has the same effect as calling PublishVersion separately.
publish
- Set to true to publish a new version of the function after updating the code. This has the same effect
as calling PublishVersion separately.UpdateFunctionCodeRequest.Builder dryRun(Boolean dryRun)
Set to true to validate the request parameters and access permissions without modifying the function code.
dryRun
- Set to true to validate the request parameters and access permissions without modifying the function
code.UpdateFunctionCodeRequest.Builder revisionId(String revisionId)
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.
revisionId
- Only update the function if the revision ID matches the ID that's specified. Use this option to avoid
modifying a function that has changed since you last read it.UpdateFunctionCodeRequest.Builder architecturesWithStrings(Collection<String> architectures)
The instruction set architecture that the function supports. Enter a string array with one of the valid
values (arm64 or x86_64). The default value is x86_64
.
architectures
- The instruction set architecture that the function supports. Enter a string array with one of the
valid values (arm64 or x86_64). The default value is x86_64
.UpdateFunctionCodeRequest.Builder architecturesWithStrings(String... architectures)
The instruction set architecture that the function supports. Enter a string array with one of the valid
values (arm64 or x86_64). The default value is x86_64
.
architectures
- The instruction set architecture that the function supports. Enter a string array with one of the
valid values (arm64 or x86_64). The default value is x86_64
.UpdateFunctionCodeRequest.Builder architectures(Collection<Architecture> architectures)
The instruction set architecture that the function supports. Enter a string array with one of the valid
values (arm64 or x86_64). The default value is x86_64
.
architectures
- The instruction set architecture that the function supports. Enter a string array with one of the
valid values (arm64 or x86_64). The default value is x86_64
.UpdateFunctionCodeRequest.Builder architectures(Architecture... architectures)
The instruction set architecture that the function supports. Enter a string array with one of the valid
values (arm64 or x86_64). The default value is x86_64
.
architectures
- The instruction set architecture that the function supports. Enter a string array with one of the
valid values (arm64 or x86_64). The default value is x86_64
.UpdateFunctionCodeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateFunctionCodeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.