Class RuntimeEndpoint.Builder

java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpoint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<RuntimeEndpoint>
Enclosing class:
RuntimeEndpoint

@Stability(Stable) public static final class RuntimeEndpoint.Builder extends Object implements software.amazon.jsii.Builder<RuntimeEndpoint>
A fluent builder for RuntimeEndpoint.
  • Method Details

    • create

      @Stability(Stable) public static RuntimeEndpoint.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of RuntimeEndpoint.Builder.
    • agentRuntimeId

      @Stability(Stable) public RuntimeEndpoint.Builder agentRuntimeId(String 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}$.

      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 RuntimeEndpoint.Builder agentRuntimeVersion(String 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})$

      Default: "1"

      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. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public RuntimeEndpoint.Builder description(String description)
      Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256.

      Default: - No description

      Parameters:
      description - Optional description for the agent runtime endpoint Length Minimum: 1 , Maximum: 256. This parameter is required.
      Returns:
      this
    • endpointName

      @Stability(Stable) public RuntimeEndpoint.Builder endpointName(String 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}$.

      Default: - auto generate

      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}$. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public RuntimeEndpoint.Builder tags(Map<String,String> 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._:/=+@-]*$.

      Default: {} - no tags

      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._:/=+@-]*$. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public RuntimeEndpoint build()
      Specified by:
      build in interface software.amazon.jsii.Builder<RuntimeEndpoint>
      Returns:
      a newly built instance of RuntimeEndpoint.