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