Interface CodeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeConfiguration.Builder,,CodeConfiguration> SdkBuilder<CodeConfiguration.Builder,,CodeConfiguration> SdkPojo
- Enclosing class:
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 agent code.runtime(AgentManagedRuntimeType runtime) The runtime environment for executing the agent code.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 agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.
- Parameters:
runtime- The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtime
The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.
- Parameters:
runtime- The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.- 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.
-