Package com.pulumi.aws.bedrock.inputs
Class AgentcoreHarnessState.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.inputs.AgentcoreHarnessState.Builder
-
- Enclosing class:
- AgentcoreHarnessState
public static final class AgentcoreHarnessState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentcoreHarnessState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentcoreHarnessState defaults)
-
-
Method Detail
-
allowedTools
public AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.Builder allowedTools(java.lang.String... allowedTools)
- Parameters:
allowedTools- List of tool names allowed for the harness. Use `["*"]` to allow all tools.- Returns:
- builder
-
arn
public AgentcoreHarnessState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the managed memory resource.- Returns:
- builder
-
arn
public AgentcoreHarnessState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the managed memory resource.- Returns:
- builder
-
authorizerConfiguration
public AgentcoreHarnessState.Builder authorizerConfiguration(@Nullable com.pulumi.core.Output<AgentcoreHarnessAuthorizerConfigurationArgs> authorizerConfiguration)
- Parameters:
authorizerConfiguration- Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.- Returns:
- builder
-
authorizerConfiguration
public AgentcoreHarnessState.Builder authorizerConfiguration(AgentcoreHarnessAuthorizerConfigurationArgs authorizerConfiguration)
- Parameters:
authorizerConfiguration- Authorization configuration for authenticating requests. See `authorizerConfiguration` Block below.- Returns:
- builder
-
environmentActuals
public AgentcoreHarnessState.Builder environmentActuals(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessEnvironmentActualArgs>> environmentActuals)
- Parameters:
environmentActuals- Actual deployed environment configuration. See `environmentActual` Block below.- Returns:
- builder
-
environmentActuals
public AgentcoreHarnessState.Builder environmentActuals(java.util.List<AgentcoreHarnessEnvironmentActualArgs> environmentActuals)
- Parameters:
environmentActuals- Actual deployed environment configuration. See `environmentActual` Block below.- Returns:
- builder
-
environmentActuals
public AgentcoreHarnessState.Builder environmentActuals(AgentcoreHarnessEnvironmentActualArgs... environmentActuals)
- Parameters:
environmentActuals- Actual deployed environment configuration. See `environmentActual` Block below.- Returns:
- builder
-
environmentArtifact
public AgentcoreHarnessState.Builder environmentArtifact(@Nullable com.pulumi.core.Output<AgentcoreHarnessEnvironmentArtifactArgs> environmentArtifact)
- Parameters:
environmentArtifact- Environment artifact configuration. See `environmentArtifact` Block below.- Returns:
- builder
-
environmentArtifact
public AgentcoreHarnessState.Builder environmentArtifact(AgentcoreHarnessEnvironmentArtifactArgs environmentArtifact)
- Parameters:
environmentArtifact- Environment artifact configuration. See `environmentArtifact` Block below.- Returns:
- builder
-
environmentVariables
public AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.Builder executionRoleArn(@Nullable 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 AgentcoreHarnessState.Builder executionRoleArn(java.lang.String executionRoleArn)
- Parameters:
executionRoleArn- ARN of the IAM role that the harness assumes to access AWS services.- Returns:
- builder
-
harnessId
public AgentcoreHarnessState.Builder harnessId(@Nullable com.pulumi.core.Output<java.lang.String> harnessId)
- Parameters:
harnessId- Unique identifier of the Harness.- Returns:
- builder
-
harnessId
public AgentcoreHarnessState.Builder harnessId(java.lang.String harnessId)
- Parameters:
harnessId- Unique identifier of the Harness.- Returns:
- builder
-
harnessName
public AgentcoreHarnessState.Builder harnessName(@Nullable 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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.Builder maxIterations(java.lang.Integer maxIterations)
- Parameters:
maxIterations- Maximum number of iterations the agent loop can perform.- Returns:
- builder
-
maxTokens
public AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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
-
memoryActuals
public AgentcoreHarnessState.Builder memoryActuals(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessMemoryActualArgs>> memoryActuals)
- Parameters:
memoryActuals- Actual deployed memory configuration. See `memoryActual` Block below.- Returns:
- builder
-
memoryActuals
public AgentcoreHarnessState.Builder memoryActuals(java.util.List<AgentcoreHarnessMemoryActualArgs> memoryActuals)
- Parameters:
memoryActuals- Actual deployed memory configuration. See `memoryActual` Block below.- Returns:
- builder
-
memoryActuals
public AgentcoreHarnessState.Builder memoryActuals(AgentcoreHarnessMemoryActualArgs... memoryActuals)
- Parameters:
memoryActuals- Actual deployed memory configuration. See `memoryActual` Block below.- Returns:
- builder
-
model
public AgentcoreHarnessState.Builder model(@Nullable com.pulumi.core.Output<AgentcoreHarnessModelArgs> model)
- Parameters:
model- Model configuration for the harness. See `model` Block below.- Returns:
- builder
-
model
public AgentcoreHarnessState.Builder model(AgentcoreHarnessModelArgs model)
- Parameters:
model- Model configuration for the harness. See `model` Block below.- Returns:
- builder
-
region
public AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.Builder skills(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessSkillArgs>> skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- Returns:
- builder
-
skills
public AgentcoreHarnessState.Builder skills(java.util.List<AgentcoreHarnessSkillArgs> skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- Returns:
- builder
-
skills
public AgentcoreHarnessState.Builder skills(AgentcoreHarnessSkillArgs... skills)
- Parameters:
skills- Skill configurations. See `skill` Block below.- Returns:
- builder
-
systemPrompts
public AgentcoreHarnessState.Builder systemPrompts(@Nullable 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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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 AgentcoreHarnessState.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
-
tagsAll
public AgentcoreHarnessState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public AgentcoreHarnessState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
timeoutSeconds
public AgentcoreHarnessState.Builder timeoutSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> timeoutSeconds)
- Parameters:
timeoutSeconds- Timeout in seconds for the harness execution.- Returns:
- builder
-
timeoutSeconds
public AgentcoreHarnessState.Builder timeoutSeconds(java.lang.Integer timeoutSeconds)
- Parameters:
timeoutSeconds- Timeout in seconds for the harness execution.- Returns:
- builder
-
timeouts
public AgentcoreHarnessState.Builder timeouts(@Nullable com.pulumi.core.Output<AgentcoreHarnessTimeoutsArgs> timeouts)
-
timeouts
public AgentcoreHarnessState.Builder timeouts(AgentcoreHarnessTimeoutsArgs timeouts)
-
tools
public AgentcoreHarnessState.Builder tools(@Nullable com.pulumi.core.Output<java.util.List<AgentcoreHarnessToolArgs>> tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
tools
public AgentcoreHarnessState.Builder tools(java.util.List<AgentcoreHarnessToolArgs> tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
tools
public AgentcoreHarnessState.Builder tools(AgentcoreHarnessToolArgs... tools)
- Parameters:
tools- Tool configurations. See `tool` Block below.- Returns:
- builder
-
truncations
public AgentcoreHarnessState.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 AgentcoreHarnessState.Builder truncations(java.util.List<AgentcoreHarnessTruncationArgs> truncations)
- Parameters:
truncations- Truncation configuration for conversation history. See `truncation` Block below.- Returns:
- builder
-
truncations
public AgentcoreHarnessState.Builder truncations(AgentcoreHarnessTruncationArgs... truncations)
- Parameters:
truncations- Truncation configuration for conversation history. See `truncation` Block below.- Returns:
- builder
-
build
public AgentcoreHarnessState build()
-
-