Interface GetAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAliasResponse.Builder,,GetAliasResponse> LambdaResponse.Builder,SdkBuilder<GetAliasResponse.Builder,,GetAliasResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAliasResponse
public static interface GetAliasResponse.Builder
extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetAliasResponse.Builder,GetAliasResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the alias.description(String description) A description of the alias.functionVersion(String functionVersion) The function version that the alias invokes.The name of the alias.revisionId(String revisionId) A unique identifier that changes when you update the alias.default GetAliasResponse.BuilderroutingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig) The routing configuration of the alias.routingConfig(AliasRoutingConfiguration routingConfig) The routing configuration of the alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aliasArn
The Amazon Resource Name (ARN) of the alias.
- Parameters:
aliasArn- The Amazon Resource Name (ARN) of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the alias.
- Parameters:
name- The name of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionVersion
The function version that the alias invokes.
- Parameters:
functionVersion- The function version that the alias invokes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the alias.
- Parameters:
description- A description of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration of the alias.
- Parameters:
routingConfig- The routing configuration of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
default GetAliasResponse.Builder routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig) The routing configuration of the alias.
This is a convenience method that creates an instance of theAliasRoutingConfiguration.Builderavoiding the need to create one manually viaAliasRoutingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingConfig(AliasRoutingConfiguration).- Parameters:
routingConfig- a consumer that will call methods onAliasRoutingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revisionId
A unique identifier that changes when you update the alias.
- Parameters:
revisionId- A unique identifier that changes when you update the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-