Interface CreateAliasResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAliasResponse.Builder,CreateAliasResponse>
,LambdaResponse.Builder
,SdkBuilder<CreateAliasResponse.Builder,CreateAliasResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateAliasResponse
public static interface CreateAliasResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<CreateAliasResponse.Builder,CreateAliasResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAliasResponse.Builder
aliasArn(String aliasArn)
The Amazon Resource Name (ARN) of the alias.CreateAliasResponse.Builder
description(String description)
A description of the alias.CreateAliasResponse.Builder
functionVersion(String functionVersion)
The function version that the alias invokes.CreateAliasResponse.Builder
name(String name)
The name of the alias.CreateAliasResponse.Builder
revisionId(String revisionId)
A unique identifier that changes when you update the alias.default CreateAliasResponse.Builder
routingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)
The routing configuration of the alias.CreateAliasResponse.Builder
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.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
aliasArn
CreateAliasResponse.Builder aliasArn(String 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
CreateAliasResponse.Builder name(String 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
CreateAliasResponse.Builder functionVersion(String 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
CreateAliasResponse.Builder description(String 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
CreateAliasResponse.Builder routingConfig(AliasRoutingConfiguration 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 CreateAliasResponse.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:
routingConfig(AliasRoutingConfiguration)
-
revisionId
CreateAliasResponse.Builder revisionId(String 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.
-
-