Package com.pulumi.aws.bedrock
Class AgentcoreHarnessArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.AgentcoreHarnessArgs.Builder
-
- Enclosing class:
- AgentcoreHarnessArgs
public static final class AgentcoreHarnessArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentcoreHarnessArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentcoreHarnessArgs defaults)
-
-
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
-
authorizerConfiguration
public AgentcoreHarnessArgs.Builder authorizerConfiguration(@Nullable com.pulumi.core.Output<AgentcoreHarnessAuthorizerConfigurationArgs> authorizerConfiguration)
- Parameters:
authorizerConfiguration- Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.- Returns:
- builder
-
authorizerConfiguration
public AgentcoreHarnessArgs.Builder authorizerConfiguration(AgentcoreHarnessAuthorizerConfigurationArgs authorizerConfiguration)
- Parameters:
authorizerConfiguration- Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.- Returns:
- builder
-
environmentArtifact
public AgentcoreHarnessArgs.Builder environmentArtifact(@Nullable com.pulumi.core.Output<AgentcoreHarnessEnvironmentArtifactArgs> environmentArtifact)
- Parameters:
environmentArtifact- Environment artifact configuration. See `environmentArtifact` Block below.- Returns:
- builder
-
environmentArtifact
public AgentcoreHarnessArgs.Builder environmentArtifact(AgentcoreHarnessEnvironmentArtifactArgs environmentArtifact)
- Parameters:
environmentArtifact- Environment artifact configuration. See `environmentArtifact` Block below.- 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
-
model
public AgentcoreHarnessArgs.Builder model(com.pulumi.core.Output<AgentcoreHarnessModelArgs> model)
- Parameters:
model- Model configuration for the harness. See `model` Block below.- Returns:
- builder
-
model
public AgentcoreHarnessArgs.Builder model(AgentcoreHarnessModelArgs model)
- Parameters:
model- Model configuration for the harness. See `model` Block below.- 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
-
skills
public AgentcoreHarnessArgs.Builder skills(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessSkillArgs>> skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- Returns:
- builder
-
skills
public AgentcoreHarnessArgs.Builder skills(java.util.List<AgentcoreHarnessSkillArgs> skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- Returns:
- builder
-
skills
public AgentcoreHarnessArgs.Builder skills(AgentcoreHarnessSkillArgs... skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- 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
-
systemPrompts
public AgentcoreHarnessArgs.Builder systemPrompts(java.util.List<AgentcoreHarnessSystemPromptArgs> systemPrompts)
- Parameters:
systemPrompts- System prompt blocks for the harness. See `systemPrompt` Block below. The following arguments are optional:- Returns:
- builder
-
systemPrompts
public AgentcoreHarnessArgs.Builder systemPrompts(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
-
timeouts
public AgentcoreHarnessArgs.Builder timeouts(@Nullable com.pulumi.core.Output<AgentcoreHarnessTimeoutsArgs> timeouts)
-
timeouts
public AgentcoreHarnessArgs.Builder timeouts(AgentcoreHarnessTimeoutsArgs timeouts)
-
tools
public AgentcoreHarnessArgs.Builder tools(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessToolArgs>> tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
tools
public AgentcoreHarnessArgs.Builder tools(java.util.List<AgentcoreHarnessToolArgs> tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
tools
public AgentcoreHarnessArgs.Builder tools(AgentcoreHarnessToolArgs... tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
truncations
public AgentcoreHarnessArgs.Builder truncations(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessTruncationArgs>> truncations)
- Parameters:
truncations- Truncation configuration for conversation history. See `truncation` Block below.- Returns:
- builder
-
truncations
public AgentcoreHarnessArgs.Builder truncations(java.util.List<AgentcoreHarnessTruncationArgs> truncations)
- Parameters:
truncations- Truncation configuration for conversation history. See `truncation` Block below.- Returns:
- builder
-
truncations
public AgentcoreHarnessArgs.Builder truncations(AgentcoreHarnessTruncationArgs... truncations)
- Parameters:
truncations- Truncation configuration for conversation history. See `truncation` Block below.- Returns:
- builder
-
build
public AgentcoreHarnessArgs build()
-
-