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
Modifier and TypeMethodDescriptiondefault GetFunctionResponse.Builder
The deployment package of the function or version.code
(FunctionCodeLocation code) The deployment package of the function or version.default GetFunctionResponse.Builder
concurrency
(Consumer<Concurrency.Builder> concurrency) The function's reserved concurrency.concurrency
(Concurrency concurrency) The function's reserved concurrency.default GetFunctionResponse.Builder
configuration
(Consumer<FunctionConfiguration.Builder> configuration) The configuration of the function or version.configuration
(FunctionConfiguration configuration) The configuration of the function or version.The function's 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 Details
-
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:
-
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
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:
-
tags
The function's tags.
- Parameters:
tags
- The function's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-