public static interface GetFunctionResponse.Builder extends LambdaResponse.Builder, CopyableBuilder<GetFunctionResponse.Builder,GetFunctionResponse>
Modifier and Type | Method and Description |
---|---|
default GetFunctionResponse.Builder |
code(Consumer<FunctionCodeLocation.Builder> code)
Sets the value of the Code property for this object.
|
GetFunctionResponse.Builder |
code(FunctionCodeLocation code)
Sets the value of the Code property for this object.
|
GetFunctionResponse.Builder |
concurrency(Concurrency concurrency)
The concurrent execution limit set for this function.
|
default GetFunctionResponse.Builder |
concurrency(Consumer<Concurrency.Builder> concurrency)
The concurrent execution limit set for this function.
|
default GetFunctionResponse.Builder |
configuration(Consumer<FunctionConfiguration.Builder> configuration)
Sets the value of the Configuration property for this object.
|
GetFunctionResponse.Builder |
configuration(FunctionConfiguration configuration)
Sets the value of the Configuration property for this object.
|
GetFunctionResponse.Builder |
tags(Map<String,String> tags)
Returns the list of tags associated with the function.
|
build
copy
apply, build
GetFunctionResponse.Builder configuration(FunctionConfiguration configuration)
configuration
- The new value for the Configuration property for this object.default GetFunctionResponse.Builder configuration(Consumer<FunctionConfiguration.Builder> configuration)
FunctionConfiguration.Builder
avoiding the need
to create one manually via FunctionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to configuration(FunctionConfiguration)
.configuration
- a consumer that will call methods on FunctionConfiguration.Builder
configuration(FunctionConfiguration)
GetFunctionResponse.Builder code(FunctionCodeLocation code)
code
- The new value for the Code property for this object.default GetFunctionResponse.Builder code(Consumer<FunctionCodeLocation.Builder> code)
FunctionCodeLocation.Builder
avoiding the need
to create one manually via FunctionCodeLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to code(FunctionCodeLocation)
.code
- a consumer that will call methods on FunctionCodeLocation.Builder
code(FunctionCodeLocation)
GetFunctionResponse.Builder tags(Map<String,String> tags)
Returns the list of tags associated with the function.
tags
- Returns the list of tags associated with the function.GetFunctionResponse.Builder concurrency(Concurrency concurrency)
The concurrent execution limit set for this function. For more information, see concurrent-executions.
concurrency
- The concurrent execution limit set for this function. For more information, see
concurrent-executions.default GetFunctionResponse.Builder concurrency(Consumer<Concurrency.Builder> concurrency)
The concurrent execution limit set for this function. For more information, see concurrent-executions.
This is a convenience that creates an instance of theConcurrency.Builder
avoiding the need to create
one manually via Concurrency.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to concurrency(Concurrency)
.concurrency
- a consumer that will call methods on Concurrency.Builder
concurrency(Concurrency)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.