public static interface PublishVersionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
Modifier and Type | Method and Description |
---|---|
PublishVersionRequest.Builder |
codeSha256(String codeSha256)
Only publish a version if the hash value matches the value that's specified.
|
PublishVersionRequest.Builder |
description(String description)
A description for the version to override the description in the function configuration.
|
PublishVersionRequest.Builder |
functionName(String functionName)
The name of the Lambda function.
|
PublishVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PublishVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PublishVersionRequest.Builder |
revisionId(String revisionId)
Only update the function if the revision ID matches the ID that's specified.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PublishVersionRequest.Builder functionName(String functionName)
The name of the Lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
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 - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
PublishVersionRequest.Builder codeSha256(String codeSha256)
Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode.
codeSha256
- Only publish a version if the hash value matches the value that's specified. Use this option to avoid
publishing a version if the function code has changed since you last updated it. You can get the hash
for the version that you uploaded from the output of UpdateFunctionCode.PublishVersionRequest.Builder description(String description)
A description for the version to override the description in the function configuration.
description
- A description for the version to override the description in the function configuration.PublishVersionRequest.Builder revisionId(String revisionId)
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.
revisionId
- Only update the function if the revision ID matches the ID that's specified. Use this option to avoid
publishing a version if the function configuration has changed since you last updated it.PublishVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PublishVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.