public static interface UpdateAliasRequest.Builder extends LambdaRequest.Builder, CopyableBuilder<UpdateAliasRequest.Builder,UpdateAliasRequest>
Modifier and Type | Method and Description |
---|---|
UpdateAliasRequest.Builder |
description(String description)
You can change the description of the alias using this parameter.
|
UpdateAliasRequest.Builder |
functionName(String functionName)
The function name for which the alias is created.
|
UpdateAliasRequest.Builder |
functionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
|
UpdateAliasRequest.Builder |
name(String name)
The alias name.
|
UpdateAliasRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateAliasRequest.Builder |
revisionId(String revisionId)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
|
UpdateAliasRequest.Builder |
routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic
will invoke each version.
|
default UpdateAliasRequest.Builder |
routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic
will invoke each version.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
UpdateAliasRequest.Builder functionName(String functionName)
The function name for which the alias is created. 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 function name for which the alias is created. 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.UpdateAliasRequest.Builder name(String name)
The alias name.
name
- The alias name.UpdateAliasRequest.Builder functionVersion(String functionVersion)
Using this parameter you can change the Lambda function version to which the alias points.
functionVersion
- Using this parameter you can change the Lambda function version to which the alias points.UpdateAliasRequest.Builder description(String description)
You can change the description of the alias using this parameter.
description
- You can change the description of the alias using this parameter.UpdateAliasRequest.Builder routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
routingConfig
- Specifies an additional version your alias can point to, allowing you to dictate what percentage of
traffic will invoke each version. For more information, see
lambda-traffic-shifting-using-aliases.default UpdateAliasRequest.Builder routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see lambda-traffic-shifting-using-aliases.
This is a convenience 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)
An optional value you can use to ensure you are updating the latest update of the function version or alias.
If the RevisionID
you pass doesn't match the latest RevisionId
of the function or
alias, it will fail with an error message, advising you to retrieve the latest function version or alias
RevisionID
using either or .
revisionId
- An optional value you can use to ensure you are updating the latest update of the function version or
alias. If the RevisionID
you pass doesn't match the latest RevisionId
of the
function or alias, it will fail with an error message, advising you to retrieve the latest function
version or alias RevisionID
using either or .UpdateAliasRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.