Interface AliasConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AliasConfiguration.Builder,
,AliasConfiguration> SdkBuilder<AliasConfiguration.Builder,
,AliasConfiguration> SdkPojo
- Enclosing class:
AliasConfiguration
public static interface AliasConfiguration.Builder
extends SdkPojo, CopyableBuilder<AliasConfiguration.Builder,AliasConfiguration>
-
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 AliasConfiguration.Builder
routingConfig
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 AliasConfiguration.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 viaAliasRoutingConfiguration.builder()
.When the
Consumer
completes,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.
-