Class CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty>
- Enclosing interface:
CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty
@Stability(Stable)
public static final class CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty>
A builder for
CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArn(String agentRuntimeArn) agentRuntimeId(String agentRuntimeId) agentRuntimeName(String agentRuntimeName) build()Builds the configured instance.filesystemConfigurations(List<? extends Object> filesystemConfigurations) filesystemConfigurations(IResolvable filesystemConfigurations) lifecycleConfiguration(IResolvable lifecycleConfiguration) lifecycleConfiguration(CfnHarness.LifecycleConfigurationProperty lifecycleConfiguration) networkConfiguration(IResolvable networkConfiguration) networkConfiguration(CfnHarness.NetworkConfigurationProperty networkConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentRuntimeArn
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder agentRuntimeArn(String agentRuntimeArn) - Parameters:
agentRuntimeArn- The ARN of the underlying AgentCore Runtime.- Returns:
this
-
agentRuntimeId
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder agentRuntimeId(String agentRuntimeId) - Parameters:
agentRuntimeId- The ID of the underlying AgentCore Runtime.- Returns:
this
-
agentRuntimeName
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder agentRuntimeName(String agentRuntimeName) - Parameters:
agentRuntimeName- The name of the underlying AgentCore Runtime.- Returns:
this
-
filesystemConfigurations
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder filesystemConfigurations(IResolvable filesystemConfigurations) Sets the value ofCfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.getFilesystemConfigurations()- Parameters:
filesystemConfigurations- the value to be set.- Returns:
this
-
filesystemConfigurations
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder filesystemConfigurations(List<? extends Object> filesystemConfigurations) Sets the value ofCfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.getFilesystemConfigurations()- Parameters:
filesystemConfigurations- the value to be set.- Returns:
this
-
lifecycleConfiguration
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder lifecycleConfiguration(IResolvable lifecycleConfiguration) - Parameters:
lifecycleConfiguration- the value to be set.- Returns:
this
-
lifecycleConfiguration
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder lifecycleConfiguration(CfnHarness.LifecycleConfigurationProperty lifecycleConfiguration) - Parameters:
lifecycleConfiguration- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder networkConfiguration(IResolvable networkConfiguration) - Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty.Builder networkConfiguration(CfnHarness.NetworkConfigurationProperty networkConfiguration) - Parameters:
networkConfiguration- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty>- Returns:
- a new instance of
CfnHarness.HarnessAgentCoreRuntimeEnvironmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-