Interface RuntimeHooksConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimeHooksConfiguration.Builder,,RuntimeHooksConfiguration> SdkBuilder<RuntimeHooksConfiguration.Builder,,RuntimeHooksConfiguration> SdkPojo
- Enclosing class:
RuntimeHooksConfiguration
@Mutable
@NotThreadSafe
public static interface RuntimeHooksConfiguration.Builder
extends SdkPojo, CopyableBuilder<RuntimeHooksConfiguration.Builder,RuntimeHooksConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbuild(Consumer<BuildLifecycleHooks.Builder> build) The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.build(BuildLifecycleHooks build) The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.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
-
build
The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
- Parameters:
build- The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
The hooks that run when you create or update the AgentCore Runtime, before any sessions are created.
This is a convenience method that creates an instance of theBuildLifecycleHooks.Builderavoiding the need to create one manually viaBuildLifecycleHooks.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuild(BuildLifecycleHooks).- Parameters:
build- a consumer that will call methods onBuildLifecycleHooks.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-