public static interface UpdateAliasRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<UpdateAliasRequest.Builder,UpdateAliasRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateAliasRequest.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.
UpdateAliasRequest.Builder name(String name)
The name of the alias.
name
- The name of the alias.UpdateAliasRequest.Builder functionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.UpdateAliasRequest.Builder description(String description)
A description of the alias.
description
- A description of the alias.UpdateAliasRequest.Builder routingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing configuration of the alias.default UpdateAliasRequest.Builder routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
The routing configuration of the alias.
This is a convenience method that creates an instance of theAliasRoutingConfiguration.Builder
avoiding the need to create one manually via AliasRoutingConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to routingConfig(AliasRoutingConfiguration)
.routingConfig
- a consumer that will call methods on AliasRoutingConfiguration.Builder
routingConfig(AliasRoutingConfiguration)
UpdateAliasRequest.Builder revisionId(String revisionId)
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
revisionId
- Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid
modifying an alias that has changed since you last read it.UpdateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.