Class AgentcoreHarnessArgs.Builder

  • Enclosing class:
    AgentcoreHarnessArgs

    public static final class AgentcoreHarnessArgs.Builder
    extends java.lang.Object
    • Method Detail

      • allowedTools

        public AgentcoreHarnessArgs.Builder allowedTools​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> allowedTools)
        Parameters:
        allowedTools - List of tool names allowed for the harness. Use `["*"]` to allow all tools.
        Returns:
        builder
      • allowedTools

        public AgentcoreHarnessArgs.Builder allowedTools​(java.util.List<java.lang.String> allowedTools)
        Parameters:
        allowedTools - List of tool names allowed for the harness. Use `["*"]` to allow all tools.
        Returns:
        builder
      • allowedTools

        public AgentcoreHarnessArgs.Builder allowedTools​(java.lang.String... allowedTools)
        Parameters:
        allowedTools - List of tool names allowed for the harness. Use `["*"]` to allow all tools.
        Returns:
        builder
      • environmentVariables

        public AgentcoreHarnessArgs.Builder environmentVariables​(@Nullable
                                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> environmentVariables)
        Parameters:
        environmentVariables - Map of environment variables. Set to an empty map (`{}`) to remove all environment variables.
        Returns:
        builder
      • environmentVariables

        public AgentcoreHarnessArgs.Builder environmentVariables​(java.util.Map<java.lang.String,​java.lang.String> environmentVariables)
        Parameters:
        environmentVariables - Map of environment variables. Set to an empty map (`{}`) to remove all environment variables.
        Returns:
        builder
      • environments

        public AgentcoreHarnessArgs.Builder environments​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<AgentcoreHarnessEnvironmentArgs>> environments)
        Parameters:
        environments - Compute environment configuration. See `environment` Block below. If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
        Returns:
        builder
      • environments

        public AgentcoreHarnessArgs.Builder environments​(java.util.List<AgentcoreHarnessEnvironmentArgs> environments)
        Parameters:
        environments - Compute environment configuration. See `environment` Block below. If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
        Returns:
        builder
      • environments

        public AgentcoreHarnessArgs.Builder environments​(AgentcoreHarnessEnvironmentArgs... environments)
        Parameters:
        environments - Compute environment configuration. See `environment` Block below. If not specified, configured values can be found in `environmentActual`. Clearing this value will leave the environment configuration as is, but Terraform will not track changes.
        Returns:
        builder
      • executionRoleArn

        public AgentcoreHarnessArgs.Builder executionRoleArn​(com.pulumi.core.Output<java.lang.String> executionRoleArn)
        Parameters:
        executionRoleArn - ARN of the IAM role that the harness assumes to access AWS services.
        Returns:
        builder
      • executionRoleArn

        public AgentcoreHarnessArgs.Builder executionRoleArn​(java.lang.String executionRoleArn)
        Parameters:
        executionRoleArn - ARN of the IAM role that the harness assumes to access AWS services.
        Returns:
        builder
      • harnessName

        public AgentcoreHarnessArgs.Builder harnessName​(com.pulumi.core.Output<java.lang.String> harnessName)
        Parameters:
        harnessName - Name of the harness. Must be 1-40 characters, start with a letter, and contain only alphanumeric characters and underscores.
        Returns:
        builder
      • harnessName

        public AgentcoreHarnessArgs.Builder harnessName​(java.lang.String harnessName)
        Parameters:
        harnessName - Name of the harness. Must be 1-40 characters, start with a letter, and contain only alphanumeric characters and underscores.
        Returns:
        builder
      • maxIterations

        public AgentcoreHarnessArgs.Builder maxIterations​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> maxIterations)
        Parameters:
        maxIterations - Maximum number of iterations the agent loop can perform.
        Returns:
        builder
      • maxIterations

        public AgentcoreHarnessArgs.Builder maxIterations​(java.lang.Integer maxIterations)
        Parameters:
        maxIterations - Maximum number of iterations the agent loop can perform.
        Returns:
        builder
      • maxTokens

        public AgentcoreHarnessArgs.Builder maxTokens​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> maxTokens)
        Parameters:
        maxTokens - Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
        Returns:
        builder
      • maxTokens

        public AgentcoreHarnessArgs.Builder maxTokens​(java.lang.Integer maxTokens)
        Parameters:
        maxTokens - Maximum total number of output tokens the agent can generate across all model calls within a single invocation.
        Returns:
        builder
      • memory

        public AgentcoreHarnessArgs.Builder memory​(@Nullable
                                                   com.pulumi.core.Output<AgentcoreHarnessMemoryArgs> memory)
        Parameters:
        memory - Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`. Clearing this value will reset the memory configuration to default values.
        Returns:
        builder
      • memory

        public AgentcoreHarnessArgs.Builder memory​(AgentcoreHarnessMemoryArgs memory)
        Parameters:
        memory - Memory configuration. See `memory` Block below. If not specified, configured values can be found in `memoryActual`. Clearing this value will reset the memory configuration to default values.
        Returns:
        builder
      • region

        public AgentcoreHarnessArgs.Builder region​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public AgentcoreHarnessArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • systemPrompts

        public AgentcoreHarnessArgs.Builder systemPrompts​(com.pulumi.core.Output<java.util.List<AgentcoreHarnessSystemPromptArgs>> systemPrompts)
        Parameters:
        systemPrompts - System prompt blocks for the harness. See `systemPrompt` Block below. The following arguments are optional:
        Returns:
        builder
      • tags

        public AgentcoreHarnessArgs.Builder tags​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public AgentcoreHarnessArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • timeoutSeconds

        public AgentcoreHarnessArgs.Builder timeoutSeconds​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Integer> timeoutSeconds)
        Parameters:
        timeoutSeconds - Timeout in seconds for the harness execution.
        Returns:
        builder
      • timeoutSeconds

        public AgentcoreHarnessArgs.Builder timeoutSeconds​(java.lang.Integer timeoutSeconds)
        Parameters:
        timeoutSeconds - Timeout in seconds for the harness execution.
        Returns:
        builder