Interface CodeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeConfiguration.Builder,,CodeConfiguration> SdkBuilder<CodeConfiguration.Builder,,CodeConfiguration> SdkPojo
- Enclosing class:
CodeConfiguration
@Mutable
@NotThreadSafe
public static interface CodeConfiguration.Builder
extends SdkPojo, CopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeConfiguration.Buildercode(Consumer<Code.Builder> code) The source code location and configuration details.The source code location and configuration details.entryPoint(String... entryPoint) The entry point for the code execution, specifying the function or method that should be invoked when the code runs.entryPoint(Collection<String> entryPoint) The entry point for the code execution, specifying the function or method that should be invoked when the code runs.The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).runtime(AgentManagedRuntimeType runtime) The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
code
The source code location and configuration details.
- Parameters:
code- The source code location and configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
The source code location and configuration details.
This is a convenience method that creates an instance of theCode.Builderavoiding the need to create one manually viaCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocode(Code).- Parameters:
code- a consumer that will call methods onCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).
- Parameters:
runtime- The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).
- Parameters:
runtime- The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entryPoint
The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
- Parameters:
entryPoint- The entry point for the code execution, specifying the function or method that should be invoked when the code runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entryPoint
The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
- Parameters:
entryPoint- The entry point for the code execution, specifying the function or method that should be invoked when the code runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-