Interface CreateAliasRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateAliasRequest.Builder,,- CreateAliasRequest> - LambdaRequest.Builder,- SdkBuilder<CreateAliasRequest.Builder,,- CreateAliasRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateAliasRequest
- 
Method SummaryModifier and TypeMethodDescriptiondescription(String description) A description of the alias.functionName(String functionName) The name or ARN of the Lambda function.functionVersion(String functionVersion) The function version that the alias invokes.The name of the alias.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateAliasRequest.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.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
functionNameThe 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.
 
- 
 
- 
nameThe 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.
 
- 
functionVersionThe 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.
 
- 
descriptionA 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.
 
- 
routingConfigThe 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.
 
- 
routingConfigdefault 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 on- AliasRoutingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateAliasRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateAliasRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-