Interface GetFunctionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFunctionResponse.Builder,,GetFunctionResponse> LambdaResponse.Builder,SdkBuilder<GetFunctionResponse.Builder,,GetFunctionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetFunctionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFunctionResponse.BuilderThe deployment package of the function or version.code(FunctionCodeLocation code) The deployment package of the function or version.default GetFunctionResponse.Builderconcurrency(Consumer<Concurrency.Builder> concurrency) The function's reserved concurrency.concurrency(Concurrency concurrency) The function's reserved concurrency.default GetFunctionResponse.Builderconfiguration(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.default GetFunctionResponse.BuildertagsError(Consumer<TagsError.Builder> tagsError) An object that contains details about an error related to retrieving tags.An object that contains details about an error related to retrieving tags.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambda.model.LambdaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.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:
-
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.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:
-
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
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
An object that contains details about an error related to retrieving tags.
This is a convenience method that creates an instance of theTagsError.Builderavoiding the need to create one manually viaTagsError.builder().When the
Consumercompletes,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:
-
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.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:
-