Interface CreateAliasRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>,LambdaRequest.Builder,SdkBuilder<CreateAliasRequest.Builder,CreateAliasRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAliasRequest
@Mutable @NotThreadSafe public static interface CreateAliasRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAliasRequest.Builderdescription(String description)A description of the alias.CreateAliasRequest.BuilderfunctionName(String functionName)The name or ARN of the Lambda function.CreateAliasRequest.BuilderfunctionVersion(String functionVersion)The function version that the alias invokes.CreateAliasRequest.Buildername(String name)The name of the alias.CreateAliasRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAliasRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateAliasRequest.BuilderroutingConfig(Consumer<AliasRoutingConfiguration.Builder> routingConfig)The routing configuration of the alias.CreateAliasRequest.BuilderroutingConfig(AliasRoutingConfiguration routingConfig)The routing configuration of the alias.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
functionName
CreateAliasRequest.Builder functionName(String functionName)
The name or ARN 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.
- Parameters:
functionName- The name or ARN 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
CreateAliasRequest.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
CreateAliasRequest.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
CreateAliasRequest.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
CreateAliasRequest.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 CreateAliasRequest.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:
routingConfig(AliasRoutingConfiguration)
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-