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 value to be set. This parameter is required.- Returns:
this
-
agentRuntimeArtifact
@Stability(Stable) public CfnRuntimeProps.Builder agentRuntimeArtifact(CfnRuntime.AgentRuntimeArtifactProperty agentRuntimeArtifact) Sets the value ofCfnRuntimeProps.getAgentRuntimeArtifact()
- Parameters:
agentRuntimeArtifact
- the value to be set. This parameter is required.- Returns:
this
-
agentRuntimeName
Sets the value ofCfnRuntimeProps.getAgentRuntimeName()
- Parameters:
agentRuntimeName
- the value to be set. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder networkConfiguration(IResolvable networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- the value to be set. This parameter is required.- Returns:
this
-
networkConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder networkConfiguration(CfnRuntime.NetworkConfigurationProperty networkConfiguration) Sets the value ofCfnRuntimeProps.getNetworkConfiguration()
- Parameters:
networkConfiguration
- the value to be set. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnRuntimeProps.getRoleArn()
- Parameters:
roleArn
- the value to be set. This parameter is required.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()
- Parameters:
authorizerConfiguration
- Configuration for the authorizer.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder authorizerConfiguration(CfnRuntime.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnRuntimeProps.getAuthorizerConfiguration()
- Parameters:
authorizerConfiguration
- Configuration for the authorizer.- Returns:
this
-
description
Sets the value ofCfnRuntimeProps.getDescription()
- Parameters:
description
- the value to be set.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnRuntimeProps.Builder environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()
- Parameters:
environmentVariables
- Environment variable attributes.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnRuntimeProps.Builder environmentVariables(IResolvable environmentVariables) Sets the value ofCfnRuntimeProps.getEnvironmentVariables()
- Parameters:
environmentVariables
- Environment variable attributes.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnRuntimeProps.Builder protocolConfiguration(String protocolConfiguration) Sets the value ofCfnRuntimeProps.getProtocolConfiguration()
- Parameters:
protocolConfiguration
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnRuntimeProps.getTags()
- Parameters:
tags
- A map of tag keys and values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRuntimeProps>
- Returns:
- a new instance of
CfnRuntimeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-