Interface GetFunctionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFunctionResponse.Builder,GetFunctionResponse>
,LambdaResponse.Builder
,SdkBuilder<GetFunctionResponse.Builder,GetFunctionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetFunctionResponse
public static interface GetFunctionResponse.Builder extends LambdaResponse.Builder, SdkPojo, CopyableBuilder<GetFunctionResponse.Builder,GetFunctionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetFunctionResponse.Builder
code(Consumer<FunctionCodeLocation.Builder> code)
The deployment package of the function or version.GetFunctionResponse.Builder
code(FunctionCodeLocation code)
The deployment package of the function or version.default GetFunctionResponse.Builder
concurrency(Consumer<Concurrency.Builder> concurrency)
The function's reserved concurrency.GetFunctionResponse.Builder
concurrency(Concurrency concurrency)
The function's reserved concurrency.default GetFunctionResponse.Builder
configuration(Consumer<FunctionConfiguration.Builder> configuration)
The configuration of the function or version.GetFunctionResponse.Builder
configuration(FunctionConfiguration configuration)
The configuration of the function or version.GetFunctionResponse.Builder
tags(Map<String,String> tags)
The function's tags.default GetFunctionResponse.Builder
tagsError(Consumer<TagsError.Builder> tagsError)
An object that contains details about an error related to retrieving tags.GetFunctionResponse.Builder
tagsError(TagsError tagsError)
An object that contains details about an error related to retrieving tags.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
configuration
GetFunctionResponse.Builder configuration(FunctionConfiguration configuration)
The configuration of the function or version.
- Parameters:
configuration
- The configuration of the function or version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetFunctionResponse.Builder configuration(Consumer<FunctionConfiguration.Builder> configuration)
The configuration of the function or version.
This is a convenience method that creates an instance of theFunctionConfiguration.Builder
avoiding the need to create one manually viaFunctionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(FunctionConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onFunctionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(FunctionConfiguration)
-
code
GetFunctionResponse.Builder code(FunctionCodeLocation code)
The deployment package of the function or version.
- Parameters:
code
- The deployment package of the function or version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
default GetFunctionResponse.Builder code(Consumer<FunctionCodeLocation.Builder> code)
The deployment package of the function or version.
This is a convenience method that creates an instance of theFunctionCodeLocation.Builder
avoiding the need to create one manually viaFunctionCodeLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocode(FunctionCodeLocation)
.- Parameters:
code
- a consumer that will call methods onFunctionCodeLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
code(FunctionCodeLocation)
-
tags
GetFunctionResponse.Builder tags(Map<String,String> tags)
The function's tags. Lambda returns tag data only if you have explicit allow permissions for lambda:ListTags.
- Parameters:
tags
- The function's tags. Lambda returns tag data only if you have explicit allow permissions for lambda:ListTags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsError
GetFunctionResponse.Builder tagsError(TagsError tagsError)
An object that contains details about an error related to retrieving tags.
- Parameters:
tagsError
- An object that contains details about an error related to retrieving tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagsError
default GetFunctionResponse.Builder tagsError(Consumer<TagsError.Builder> tagsError)
An object that contains details about an error related to retrieving tags.
This is a convenience method that creates an instance of theTagsError.Builder
avoiding the need to create one manually viaTagsError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagsError(TagsError)
.- Parameters:
tagsError
- a consumer that will call methods onTagsError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tagsError(TagsError)
-
concurrency
GetFunctionResponse.Builder concurrency(Concurrency concurrency)
The function's reserved concurrency.
- Parameters:
concurrency
- The function's reserved concurrency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
concurrency
default GetFunctionResponse.Builder concurrency(Consumer<Concurrency.Builder> concurrency)
The function's reserved concurrency.
This is a convenience method that creates an instance of theConcurrency.Builder
avoiding the need to create one manually viaConcurrency.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconcurrency(Concurrency)
.- Parameters:
concurrency
- a consumer that will call methods onConcurrency.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
concurrency(Concurrency)
-
-