public static interface RuntimeVersionConfig.Builder extends SdkPojo, CopyableBuilder<RuntimeVersionConfig.Builder,RuntimeVersionConfig>
| Modifier and Type | Method and Description |
|---|---|
default RuntimeVersionConfig.Builder |
error(Consumer<RuntimeVersionError.Builder> error)
Error response when Lambda is unable to retrieve the runtime version for a function.
|
RuntimeVersionConfig.Builder |
error(RuntimeVersionError error)
Error response when Lambda is unable to retrieve the runtime version for a function.
|
RuntimeVersionConfig.Builder |
runtimeVersionArn(String runtimeVersionArn)
The ARN of the runtime version you want the function to use.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuntimeVersionConfig.Builder runtimeVersionArn(String runtimeVersionArn)
The ARN of the runtime version you want the function to use.
runtimeVersionArn - The ARN of the runtime version you want the function to use.RuntimeVersionConfig.Builder error(RuntimeVersionError error)
Error response when Lambda is unable to retrieve the runtime version for a function.
error - Error response when Lambda is unable to retrieve the runtime version for a function.default RuntimeVersionConfig.Builder error(Consumer<RuntimeVersionError.Builder> error)
Error response when Lambda is unable to retrieve the runtime version for a function.
This is a convenience method that creates an instance of theRuntimeVersionError.Builder avoiding the
need to create one manually via RuntimeVersionError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(RuntimeVersionError).
error - a consumer that will call methods on RuntimeVersionError.Buildererror(RuntimeVersionError)Copyright © 2023. All rights reserved.