public static interface CreateAliasRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
Modifier and Type | Method and Description |
---|---|
CreateAliasRequest.Builder |
description(String description)
A description of the alias.
|
CreateAliasRequest.Builder |
functionName(String functionName)
The name of the Lambda function.
|
CreateAliasRequest.Builder |
functionVersion(String functionVersion)
The function version that the alias invokes.
|
CreateAliasRequest.Builder |
name(String name)
The name of the alias.
|
CreateAliasRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAliasRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateAliasRequest.Builder |
routingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
|
default CreateAliasRequest.Builder |
routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
The routing configuration of the alias.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateAliasRequest.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.
CreateAliasRequest.Builder name(String name)
The name of the alias.
name
- The name of the alias.CreateAliasRequest.Builder functionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.CreateAliasRequest.Builder description(String description)
A description of the alias.
description
- A description of the alias.CreateAliasRequest.Builder routingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing configuration of the alias.default CreateAliasRequest.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)
CreateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.