Class RuntimeEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RuntimeEndpointProps>
- Enclosing interface:
RuntimeEndpointProps
@Stability(Stable)
public static final class RuntimeEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<RuntimeEndpointProps>
A builder for
RuntimeEndpointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeId(String agentRuntimeId) Sets the value ofRuntimeEndpointProps.getAgentRuntimeId()agentRuntimeVersion(String agentRuntimeVersion) Sets the value ofRuntimeEndpointProps.getAgentRuntimeVersion()build()Builds the configured instance.description(String description) Sets the value ofRuntimeEndpointProps.getDescription()endpointName(String endpointName) Sets the value ofRuntimeEndpointProps.getEndpointName()Sets the value ofRuntimeEndpointProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentRuntimeId
Sets the value ofRuntimeEndpointProps.getAgentRuntimeId()- Parameters:
agentRuntimeId- The ID of the agent runtime to associate with this endpoint This is the unique identifier of the runtime resource Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$. This parameter is required.- Returns:
this
-
agentRuntimeVersion
@Stability(Stable) public RuntimeEndpointProps.Builder agentRuntimeVersion(String agentRuntimeVersion) Sets the value ofRuntimeEndpointProps.getAgentRuntimeVersion()- Parameters:
agentRuntimeVersion- The version of the agent runtime to use for this endpoint If not specified, the endpoint will point to version "1" of the runtime. Pattern: ^([1-9][0-9]{0,4})$- Returns:
this
-
description
Sets the value ofRuntimeEndpointProps.getDescription()- Parameters:
description- Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256.- Returns:
this
-
endpointName
Sets the value ofRuntimeEndpointProps.getEndpointName()- Parameters:
endpointName- The name of the agent runtime endpoint Valid characters are a-z, A-Z, 0-9, _ (underscore) Must start with a letter and can be up to 48 characters long Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$.- Returns:
this
-
tags
Sets the value ofRuntimeEndpointProps.getTags()- Parameters:
tags- Tags for the agent runtime endpoint A list of key:value pairs of tags to apply to this RuntimeEndpoint resource Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RuntimeEndpointProps>- Returns:
- a new instance of
RuntimeEndpointProps - Throws:
NullPointerException- if any required attribute was not provided
-