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
-
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 Detail
-
amznClientToken
CreateFunctionDefinitionVersionRequest.Builder amznClientToken(String 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
CreateFunctionDefinitionVersionRequest.Builder defaultConfig(FunctionDefaultConfig 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.Builderavoiding the need to create one manually viaFunctionDefaultConfig.builder().When the
Consumercompletes,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:
defaultConfig(FunctionDefaultConfig)
-
functionDefinitionId
CreateFunctionDefinitionVersionRequest.Builder functionDefinitionId(String 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
CreateFunctionDefinitionVersionRequest.Builder functions(Collection<Function> 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
CreateFunctionDefinitionVersionRequest.Builder functions(Function... 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
CreateFunctionDefinitionVersionRequest.Builder functions(Consumer<Function.Builder>... functions)
A list of Lambda functions in this function definition version. This is a convenience method that creates an instance of theFunction.Builderavoiding the need to create one manually viaFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#functions(List.) - 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:
#functions(java.util.Collection)
-
overrideConfiguration
CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFunctionDefinitionVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-