public static interface GetFunctionRequest.Builder extends LambdaRequest.Builder, CopyableBuilder<GetFunctionRequest.Builder,GetFunctionRequest>
Modifier and Type | Method and Description |
---|---|
GetFunctionRequest.Builder |
functionName(String functionName)
The Lambda function name.
|
GetFunctionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetFunctionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetFunctionRequest.Builder |
qualifier(String qualifier)
Use this optional parameter to specify a function version or an alias name.
|
build
overrideConfiguration
copy
applyMutation, build
GetFunctionRequest.Builder functionName(String functionName)
The Lambda function name.
You can specify a function name (for example, Thumbnail
) or you can specify Amazon Resource Name
(ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS
Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail
). Note that
the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64
characters in length.
functionName
- The Lambda function name.
You can specify a function name (for example, Thumbnail
) or you can specify Amazon
Resource Name (ARN) of the function (for example,
arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to
specify a partial ARN (for example, account-id:Thumbnail
). Note that the length
constraint applies only to the ARN. If you specify only the function name, it is limited to 64
characters in length.
GetFunctionRequest.Builder qualifier(String qualifier)
Use this optional parameter to specify a function version or an alias name. If you specify function version,
the API uses qualified function ARN for the request and returns information about the specific Lambda
function version. If you specify an alias name, the API uses the alias ARN and returns information about the
function version to which the alias points. If you don't provide this parameter, the API uses unqualified
function ARN and returns information about the $LATEST
version of the Lambda function.
qualifier
- Use this optional parameter to specify a function version or an alias name. If you specify function
version, the API uses qualified function ARN for the request and returns information about the
specific Lambda function version. If you specify an alias name, the API uses the alias ARN and returns
information about the function version to which the alias points. If you don't provide this parameter,
the API uses unqualified function ARN and returns information about the $LATEST
version
of the Lambda function.GetFunctionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetFunctionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.