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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FunctionConfig.Builder
comment(String comment)
A comment to describe the function.default FunctionConfig.Builder
keyValueStoreAssociations(Consumer<KeyValueStoreAssociations.Builder> keyValueStoreAssociations)
The configuration for the Key Value Store associations.FunctionConfig.Builder
keyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations)
The configuration for the Key Value Store associations.FunctionConfig.Builder
runtime(String runtime)
The function's runtime environment version.FunctionConfig.Builder
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 Detail
-
comment
FunctionConfig.Builder comment(String 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
FunctionConfig.Builder runtime(String 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:
FunctionRuntime
,FunctionRuntime
-
runtime
FunctionConfig.Builder runtime(FunctionRuntime 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:
FunctionRuntime
,FunctionRuntime
-
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:
keyValueStoreAssociations(KeyValueStoreAssociations)
-
-