public static interface CreateFunctionDefinitionVersionRequest.Builder extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionDefinitionVersionRequest.Builder,CreateFunctionDefinitionVersionRequest>
Modifier and Type | Method and Description |
---|---|
CreateFunctionDefinitionVersionRequest.Builder |
amznClientToken(String amznClientToken)
A client token used to correlate requests and responses.
|
default CreateFunctionDefinitionVersionRequest.Builder |
defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)
Default configuration that will apply to all Lambda functions in this function definition version This is a
convenience that creates an instance of the
FunctionDefaultConfig.Builder avoiding the need to create
one manually via FunctionDefaultConfig.builder() . |
CreateFunctionDefinitionVersionRequest.Builder |
defaultConfig(FunctionDefaultConfig defaultConfig)
Default configuration that will apply to all Lambda functions in this function definition version
|
CreateFunctionDefinitionVersionRequest.Builder |
functionDefinitionId(String functionDefinitionId)
The ID of the Lambda function definition.
|
CreateFunctionDefinitionVersionRequest.Builder |
functions(Collection<Function> functions)
A list of Lambda functions in this function definition version.
|
CreateFunctionDefinitionVersionRequest.Builder |
functions(Consumer<Function.Builder>... functions)
A list of Lambda functions in this function definition version.
|
CreateFunctionDefinitionVersionRequest.Builder |
functions(Function... functions)
A list of Lambda functions in this function definition version.
|
CreateFunctionDefinitionVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateFunctionDefinitionVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateFunctionDefinitionVersionRequest.Builder amznClientToken(String amznClientToken)
amznClientToken
- A client token used to correlate requests and responses.CreateFunctionDefinitionVersionRequest.Builder defaultConfig(FunctionDefaultConfig defaultConfig)
defaultConfig
- Default configuration that will apply to all Lambda functions in this function definition versiondefault CreateFunctionDefinitionVersionRequest.Builder defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)
FunctionDefaultConfig.Builder
avoiding the need to create
one manually via FunctionDefaultConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to defaultConfig(FunctionDefaultConfig)
.defaultConfig
- a consumer that will call methods on FunctionDefaultConfig.Builder
defaultConfig(FunctionDefaultConfig)
CreateFunctionDefinitionVersionRequest.Builder functionDefinitionId(String functionDefinitionId)
functionDefinitionId
- The ID of the Lambda function definition.CreateFunctionDefinitionVersionRequest.Builder functions(Collection<Function> functions)
functions
- A list of Lambda functions in this function definition version.CreateFunctionDefinitionVersionRequest.Builder functions(Function... functions)
functions
- A list of Lambda functions in this function definition version.CreateFunctionDefinitionVersionRequest.Builder functions(Consumer<Function.Builder>... functions)
List.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #functions(List)
.functions
- a consumer that will call methods on List.Builder
#functions(List)
CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.