public static interface GetFunctionResponse.Builder extends software.amazon.awssdk.utils.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.
|
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.
|
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.Copyright © 2017. All rights reserved.