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.Buildercode(Consumer<FunctionCodeLocation.Builder> code)The deployment package of the function or version.GetFunctionResponse.Buildercode(FunctionCodeLocation code)The deployment package of the function or version.default GetFunctionResponse.Builderconcurrency(Consumer<Concurrency.Builder> concurrency)The function's reserved concurrency.GetFunctionResponse.Builderconcurrency(Concurrency concurrency)The function's reserved concurrency.default GetFunctionResponse.Builderconfiguration(Consumer<FunctionConfiguration.Builder> configuration)The configuration of the function or version.GetFunctionResponse.Builderconfiguration(FunctionConfiguration configuration)The configuration of the function or version.GetFunctionResponse.Buildertags(Map<String,String> tags)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 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.Builderavoiding the need to create one manually viaFunctionConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFunctionCodeLocation.builder().When the
Consumercompletes,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.
- Parameters:
tags- The function's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaConcurrency.builder().When the
Consumercompletes,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)
-
-