public static interface GetAliasResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetAliasResponse.Builder,GetAliasResponse>
Modifier and Type | Method and Description |
---|---|
GetAliasResponse.Builder |
aliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix.
|
GetAliasResponse.Builder |
description(String description)
Alias description.
|
GetAliasResponse.Builder |
functionVersion(String functionVersion)
Function version to which the alias points.
|
GetAliasResponse.Builder |
name(String name)
Alias name.
|
GetAliasResponse.Builder |
revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
|
GetAliasResponse.Builder |
routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.
|
default GetAliasResponse.Builder |
routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of
traffic will invoke each version.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetAliasResponse.Builder aliasArn(String aliasArn)
Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias
called BETA
that points to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.
aliasArn
- Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create
an alias called BETA
that points to a helloworld function version, the ARN is
arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.GetAliasResponse.Builder name(String name)
Alias name.
name
- Alias name.GetAliasResponse.Builder functionVersion(String functionVersion)
Function version to which the alias points.
functionVersion
- Function version to which the alias points.GetAliasResponse.Builder description(String description)
Alias description.
description
- Alias description.GetAliasResponse.Builder routingConfig(AliasRoutingConfiguration routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version.
routingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage
of traffic will invoke each version.default GetAliasResponse.Builder routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version.
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)
GetAliasResponse.Builder revisionId(String revisionId)
Represents the latest updated revision of the function or alias.
revisionId
- Represents the latest updated revision of the function or alias.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.