Interface CreateFunctionDefinitionVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFunctionDefinitionVersionRequest.Builder,
,CreateFunctionDefinitionVersionRequest> GreengrassRequest.Builder
,SdkBuilder<CreateFunctionDefinitionVersionRequest.Builder,
,CreateFunctionDefinitionVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFunctionDefinitionVersionRequest
public static interface CreateFunctionDefinitionVersionRequest.Builder
extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateFunctionDefinitionVersionRequest.Builder,CreateFunctionDefinitionVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamznClientToken
(String amznClientToken) A client token used to correlate requests and responses.defaultConfig
(Consumer<FunctionDefaultConfig.Builder> defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.defaultConfig
(FunctionDefaultConfig defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.functionDefinitionId
(String functionDefinitionId) The ID of the Lambda function definition.functions
(Collection<Function> functions) A list of Lambda functions in this function definition version.functions
(Consumer<Function.Builder>... functions) A list of Lambda functions in this function definition version.A list of Lambda functions in this function definition version.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amznClientToken
A client token used to correlate requests and responses.- Parameters:
amznClientToken
- A client token used to correlate requests and responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Parameters:
defaultConfig
- The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
default CreateFunctionDefinitionVersionRequest.Builder defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig) The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings. This is a convenience method that creates an instance of theFunctionDefaultConfig.Builder
avoiding the need to create one manually viaFunctionDefaultConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultConfig(FunctionDefaultConfig)
.- Parameters:
defaultConfig
- a consumer that will call methods onFunctionDefaultConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
functionDefinitionId
The ID of the Lambda function definition.- Parameters:
functionDefinitionId
- The ID of the Lambda function definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version.- Parameters:
functions
- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version.- Parameters:
functions
- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of Lambda functions in this function definition version. This is a convenience method that creates an instance of theFunction.Builder
avoiding the need to create one manually viaFunction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctions(List<Function>)
.- Parameters:
functions
- a consumer that will call methods onFunction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-