Interface HarnessEnvironmentProviderRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessEnvironmentProviderRequest.Builder,,HarnessEnvironmentProviderRequest> SdkBuilder<HarnessEnvironmentProviderRequest.Builder,,HarnessEnvironmentProviderRequest> SdkPojo
- Enclosing class:
HarnessEnvironmentProviderRequest
@Mutable
@NotThreadSafe
public static interface HarnessEnvironmentProviderRequest.Builder
extends SdkPojo, CopyableBuilder<HarnessEnvironmentProviderRequest.Builder,HarnessEnvironmentProviderRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentCoreRuntimeEnvironment(Consumer<HarnessAgentCoreRuntimeEnvironmentRequest.Builder> agentCoreRuntimeEnvironment) The AgentCore Runtime environment configuration.agentCoreRuntimeEnvironment(HarnessAgentCoreRuntimeEnvironmentRequest agentCoreRuntimeEnvironment) The AgentCore Runtime environment configuration.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
-
agentCoreRuntimeEnvironment
HarnessEnvironmentProviderRequest.Builder agentCoreRuntimeEnvironment(HarnessAgentCoreRuntimeEnvironmentRequest agentCoreRuntimeEnvironment) The AgentCore Runtime environment configuration.
- Parameters:
agentCoreRuntimeEnvironment- The AgentCore Runtime environment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCoreRuntimeEnvironment
default HarnessEnvironmentProviderRequest.Builder agentCoreRuntimeEnvironment(Consumer<HarnessAgentCoreRuntimeEnvironmentRequest.Builder> agentCoreRuntimeEnvironment) The AgentCore Runtime environment configuration.
This is a convenience method that creates an instance of theHarnessAgentCoreRuntimeEnvironmentRequest.Builderavoiding the need to create one manually viaHarnessAgentCoreRuntimeEnvironmentRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCoreRuntimeEnvironment(HarnessAgentCoreRuntimeEnvironmentRequest).- Parameters:
agentCoreRuntimeEnvironment- a consumer that will call methods onHarnessAgentCoreRuntimeEnvironmentRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-