Class CfnRuntimeProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntimeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntimeProps>
- Enclosing interface:
CfnRuntimeProps
@Stability(Stable)
public static final class CfnRuntimeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntimeProps>
A builder for
CfnRuntimeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArtifact(IResolvable agentRuntimeArtifact) Sets the value ofCfnRuntimeProps.getAgentRuntimeArtifact()agentRuntimeArtifact(CfnRuntime.AgentRuntimeArtifactProperty agentRuntimeArtifact) Sets the value ofCfnRuntimeProps.getAgentRuntimeArtifact()agentRuntimeName(String agentRuntimeName) Sets the value ofCfnRuntimeProps.getAgentRuntimeName()authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()authorizerConfiguration(CfnRuntime.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()build()Builds the configured instance.description(String description) Sets the value ofCfnRuntimeProps.getDescription()environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()environmentVariables(IResolvable environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()networkConfiguration(CfnRuntime.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()protocolConfiguration(String protocolConfiguration) Sets the value ofCfnRuntimeProps.getProtocolConfiguration()Sets the value ofCfnRuntimeProps.getRoleArn()Sets the value ofCfnRuntimeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentRuntimeArtifact
@Stability(Stable) public CfnRuntimeProps.Builder agentRuntimeArtifact(IResolvable agentRuntimeArtifact) Sets the value ofCfnRuntimeProps.getAgentRuntimeArtifact()- Parameters:
agentRuntimeArtifact- The artifact of the agent. This parameter is required.- Returns:
this
-
agentRuntimeArtifact
@Stability(Stable) public CfnRuntimeProps.Builder agentRuntimeArtifact(CfnRuntime.AgentRuntimeArtifactProperty agentRuntimeArtifact) Sets the value ofCfnRuntimeProps.getAgentRuntimeArtifact()- Parameters:
agentRuntimeArtifact- The artifact of the agent. This parameter is required.- Returns:
this
-
agentRuntimeName
Sets the value ofCfnRuntimeProps.getAgentRuntimeName()- Parameters:
agentRuntimeName- The name of the AgentCore Runtime endpoint. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder networkConfiguration(CfnRuntime.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()- Parameters:
networkConfiguration- The network configuration. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnRuntimeProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) for for the role. This parameter is required.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- Represents inbound authorization configuration options used to authenticate incoming requests.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder authorizerConfiguration(CfnRuntime.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- Represents inbound authorization configuration options used to authenticate incoming requests.- Returns:
this
-
description
Sets the value ofCfnRuntimeProps.getDescription()- Parameters:
description- The agent runtime description.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnRuntimeProps.Builder environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()- Parameters:
environmentVariables- The environment variables for the agent.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnRuntimeProps.Builder environmentVariables(IResolvable environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()- Parameters:
environmentVariables- The environment variables for the agent.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder protocolConfiguration(String protocolConfiguration) Sets the value ofCfnRuntimeProps.getProtocolConfiguration()- Parameters:
protocolConfiguration- The protocol configuration for an agent runtime. This structure defines how the agent runtime communicates with clients.- Returns:
this
-
tags
Sets the value ofCfnRuntimeProps.getTags()- Parameters:
tags- The tags for the agent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntimeProps>- Returns:
- a new instance of
CfnRuntimeProps - Throws:
NullPointerException- if any required attribute was not provided
-