Class CfnRuntimeEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnRuntimeEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntimeEndpointProps>
- Enclosing interface:
CfnRuntimeEndpointProps
@Stability(Stable)
public static final class CfnRuntimeEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntimeEndpointProps>
A builder for
CfnRuntimeEndpointProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeId
(String agentRuntimeId) Sets the value ofCfnRuntimeEndpointProps.getAgentRuntimeId()
agentRuntimeVersion
(String agentRuntimeVersion) Sets the value ofCfnRuntimeEndpointProps.getAgentRuntimeVersion()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnRuntimeEndpointProps.getDescription()
Sets the value ofCfnRuntimeEndpointProps.getName()
Sets the value ofCfnRuntimeEndpointProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentRuntimeId
Sets the value ofCfnRuntimeEndpointProps.getAgentRuntimeId()
- Parameters:
agentRuntimeId
- The ID of the parent Agent Runtime. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnRuntimeEndpointProps.getName()
- Parameters:
name
- the value to be set. This parameter is required.- Returns:
this
-
agentRuntimeVersion
@Stability(Stable) public CfnRuntimeEndpointProps.Builder agentRuntimeVersion(String agentRuntimeVersion) Sets the value ofCfnRuntimeEndpointProps.getAgentRuntimeVersion()
- Parameters:
agentRuntimeVersion
- the value to be set.- Returns:
this
-
description
Sets the value ofCfnRuntimeEndpointProps.getDescription()
- Parameters:
description
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnRuntimeEndpointProps.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<CfnRuntimeEndpointProps>
- Returns:
- a new instance of
CfnRuntimeEndpointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-