Interface FunctionConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionConfig.Builder,
,FunctionConfig> SdkBuilder<FunctionConfig.Builder,
,FunctionConfig> SdkPojo
- Enclosing class:
FunctionConfig
public static interface FunctionConfig.Builder
extends SdkPojo, CopyableBuilder<FunctionConfig.Builder,FunctionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionA comment to describe the function.default FunctionConfig.Builder
keyValueStoreAssociations
(Consumer<KeyValueStoreAssociations.Builder> keyValueStoreAssociations) The configuration for the key value store associations.keyValueStoreAssociations
(KeyValueStoreAssociations keyValueStoreAssociations) The configuration for the key value store associations.The function's runtime environment version.runtime
(FunctionRuntime runtime) The function's runtime environment version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
comment
A comment to describe the function.
- Parameters:
comment
- A comment to describe the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtime
The function's runtime environment version.
- Parameters:
runtime
- The function's runtime environment version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The function's runtime environment version.
- Parameters:
runtime
- The function's runtime environment version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyValueStoreAssociations
FunctionConfig.Builder keyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations) The configuration for the key value store associations.
- Parameters:
keyValueStoreAssociations
- The configuration for the key value store associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyValueStoreAssociations
default FunctionConfig.Builder keyValueStoreAssociations(Consumer<KeyValueStoreAssociations.Builder> keyValueStoreAssociations) The configuration for the key value store associations.
This is a convenience method that creates an instance of theKeyValueStoreAssociations.Builder
avoiding the need to create one manually viaKeyValueStoreAssociations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyValueStoreAssociations(KeyValueStoreAssociations)
.- Parameters:
keyValueStoreAssociations
- a consumer that will call methods onKeyValueStoreAssociations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-