Package com.pulumi.aws.bedrock
Class AgentAgentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.AgentAgentArgs.Builder
-
- Enclosing class:
- AgentAgentArgs
public static final class AgentAgentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentAgentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentAgentArgs.BuilderagentCollaboration(com.pulumi.core.Output<java.lang.String> agentCollaboration)AgentAgentArgs.BuilderagentCollaboration(java.lang.String agentCollaboration)AgentAgentArgs.BuilderagentName(com.pulumi.core.Output<java.lang.String> agentName)AgentAgentArgs.BuilderagentName(java.lang.String agentName)AgentAgentArgs.BuilderagentResourceRoleArn(com.pulumi.core.Output<java.lang.String> agentResourceRoleArn)AgentAgentArgs.BuilderagentResourceRoleArn(java.lang.String agentResourceRoleArn)AgentAgentArgsbuild()AgentAgentArgs.BuildercustomerEncryptionKeyArn(com.pulumi.core.Output<java.lang.String> customerEncryptionKeyArn)AgentAgentArgs.BuildercustomerEncryptionKeyArn(java.lang.String customerEncryptionKeyArn)AgentAgentArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)AgentAgentArgs.Builderdescription(java.lang.String description)AgentAgentArgs.BuilderfoundationModel(com.pulumi.core.Output<java.lang.String> foundationModel)AgentAgentArgs.BuilderfoundationModel(java.lang.String foundationModel)AgentAgentArgs.BuilderguardrailConfigurations(AgentAgentGuardrailConfigurationArgs... guardrailConfigurations)AgentAgentArgs.BuilderguardrailConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentGuardrailConfigurationArgs>> guardrailConfigurations)AgentAgentArgs.BuilderguardrailConfigurations(java.util.List<AgentAgentGuardrailConfigurationArgs> guardrailConfigurations)AgentAgentArgs.BuilderidleSessionTtlInSeconds(com.pulumi.core.Output<java.lang.Integer> idleSessionTtlInSeconds)AgentAgentArgs.BuilderidleSessionTtlInSeconds(java.lang.Integer idleSessionTtlInSeconds)AgentAgentArgs.Builderinstruction(com.pulumi.core.Output<java.lang.String> instruction)AgentAgentArgs.Builderinstruction(java.lang.String instruction)AgentAgentArgs.BuildermemoryConfigurations(AgentAgentMemoryConfigurationArgs... memoryConfigurations)AgentAgentArgs.BuildermemoryConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentMemoryConfigurationArgs>> memoryConfigurations)AgentAgentArgs.BuildermemoryConfigurations(java.util.List<AgentAgentMemoryConfigurationArgs> memoryConfigurations)AgentAgentArgs.BuilderprepareAgent(com.pulumi.core.Output<java.lang.Boolean> prepareAgent)AgentAgentArgs.BuilderprepareAgent(java.lang.Boolean prepareAgent)AgentAgentArgs.BuilderpromptOverrideConfigurations(AgentAgentPromptOverrideConfigurationArgs... promptOverrideConfigurations)AgentAgentArgs.BuilderpromptOverrideConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentPromptOverrideConfigurationArgs>> promptOverrideConfigurations)AgentAgentArgs.BuilderpromptOverrideConfigurations(java.util.List<AgentAgentPromptOverrideConfigurationArgs> promptOverrideConfigurations)AgentAgentArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)AgentAgentArgs.Builderregion(java.lang.String region)AgentAgentArgs.BuilderskipResourceInUseCheck(com.pulumi.core.Output<java.lang.Boolean> skipResourceInUseCheck)AgentAgentArgs.BuilderskipResourceInUseCheck(java.lang.Boolean skipResourceInUseCheck)AgentAgentArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)AgentAgentArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)AgentAgentArgs.Buildertimeouts(AgentAgentTimeoutsArgs timeouts)AgentAgentArgs.Buildertimeouts(com.pulumi.core.Output<AgentAgentTimeoutsArgs> timeouts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentAgentArgs defaults)
-
-
Method Detail
-
agentCollaboration
public AgentAgentArgs.Builder agentCollaboration(@Nullable com.pulumi.core.Output<java.lang.String> agentCollaboration)
- Parameters:
agentCollaboration- Agents collaboration role. Valid values: `SUPERVISOR`, `SUPERVISOR_ROUTER`, `DISABLED`.- Returns:
- builder
-
agentCollaboration
public AgentAgentArgs.Builder agentCollaboration(java.lang.String agentCollaboration)
- Parameters:
agentCollaboration- Agents collaboration role. Valid values: `SUPERVISOR`, `SUPERVISOR_ROUTER`, `DISABLED`.- Returns:
- builder
-
agentName
public AgentAgentArgs.Builder agentName(com.pulumi.core.Output<java.lang.String> agentName)
- Parameters:
agentName- Name of the agent.- Returns:
- builder
-
agentName
public AgentAgentArgs.Builder agentName(java.lang.String agentName)
- Parameters:
agentName- Name of the agent.- Returns:
- builder
-
agentResourceRoleArn
public AgentAgentArgs.Builder agentResourceRoleArn(com.pulumi.core.Output<java.lang.String> agentResourceRoleArn)
- Parameters:
agentResourceRoleArn- ARN of the IAM role with permissions to invoke API operations on the agent.- Returns:
- builder
-
agentResourceRoleArn
public AgentAgentArgs.Builder agentResourceRoleArn(java.lang.String agentResourceRoleArn)
- Parameters:
agentResourceRoleArn- ARN of the IAM role with permissions to invoke API operations on the agent.- Returns:
- builder
-
customerEncryptionKeyArn
public AgentAgentArgs.Builder customerEncryptionKeyArn(@Nullable com.pulumi.core.Output<java.lang.String> customerEncryptionKeyArn)
- Parameters:
customerEncryptionKeyArn- ARN of the AWS KMS key that encrypts the agent.- Returns:
- builder
-
customerEncryptionKeyArn
public AgentAgentArgs.Builder customerEncryptionKeyArn(java.lang.String customerEncryptionKeyArn)
- Parameters:
customerEncryptionKeyArn- ARN of the AWS KMS key that encrypts the agent.- Returns:
- builder
-
description
public AgentAgentArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the agent.- Returns:
- builder
-
description
public AgentAgentArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the agent.- Returns:
- builder
-
foundationModel
public AgentAgentArgs.Builder foundationModel(com.pulumi.core.Output<java.lang.String> foundationModel)
- Parameters:
foundationModel- Foundation model used for orchestration by the agent. The following arguments are optional:- Returns:
- builder
-
foundationModel
public AgentAgentArgs.Builder foundationModel(java.lang.String foundationModel)
- Parameters:
foundationModel- Foundation model used for orchestration by the agent. The following arguments are optional:- Returns:
- builder
-
guardrailConfigurations
public AgentAgentArgs.Builder guardrailConfigurations(@Nullable com.pulumi.core.Output<java.util.List<AgentAgentGuardrailConfigurationArgs>> guardrailConfigurations)
- Parameters:
guardrailConfigurations- Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.- Returns:
- builder
-
guardrailConfigurations
public AgentAgentArgs.Builder guardrailConfigurations(java.util.List<AgentAgentGuardrailConfigurationArgs> guardrailConfigurations)
- Parameters:
guardrailConfigurations- Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.- Returns:
- builder
-
guardrailConfigurations
public AgentAgentArgs.Builder guardrailConfigurations(AgentAgentGuardrailConfigurationArgs... guardrailConfigurations)
- Parameters:
guardrailConfigurations- Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.- Returns:
- builder
-
idleSessionTtlInSeconds
public AgentAgentArgs.Builder idleSessionTtlInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> idleSessionTtlInSeconds)
- Parameters:
idleSessionTtlInSeconds- Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.- Returns:
- builder
-
idleSessionTtlInSeconds
public AgentAgentArgs.Builder idleSessionTtlInSeconds(java.lang.Integer idleSessionTtlInSeconds)
- Parameters:
idleSessionTtlInSeconds- Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.- Returns:
- builder
-
instruction
public AgentAgentArgs.Builder instruction(@Nullable com.pulumi.core.Output<java.lang.String> instruction)
- Parameters:
instruction- Instructions that tell the agent what it should do and how it should interact with users. If `prepareAgent` is `true` this argument is required. The valid range is 40 - 20000 characters.- Returns:
- builder
-
instruction
public AgentAgentArgs.Builder instruction(java.lang.String instruction)
- Parameters:
instruction- Instructions that tell the agent what it should do and how it should interact with users. If `prepareAgent` is `true` this argument is required. The valid range is 40 - 20000 characters.- Returns:
- builder
-
memoryConfigurations
public AgentAgentArgs.Builder memoryConfigurations(@Nullable com.pulumi.core.Output<java.util.List<AgentAgentMemoryConfigurationArgs>> memoryConfigurations)
- Parameters:
memoryConfigurations- Configurations for the agent's ability to retain the conversational context. See `memoryConfiguration` Block for details.- Returns:
- builder
-
memoryConfigurations
public AgentAgentArgs.Builder memoryConfigurations(java.util.List<AgentAgentMemoryConfigurationArgs> memoryConfigurations)
- Parameters:
memoryConfigurations- Configurations for the agent's ability to retain the conversational context. See `memoryConfiguration` Block for details.- Returns:
- builder
-
memoryConfigurations
public AgentAgentArgs.Builder memoryConfigurations(AgentAgentMemoryConfigurationArgs... memoryConfigurations)
- Parameters:
memoryConfigurations- Configurations for the agent's ability to retain the conversational context. See `memoryConfiguration` Block for details.- Returns:
- builder
-
prepareAgent
public AgentAgentArgs.Builder prepareAgent(@Nullable com.pulumi.core.Output<java.lang.Boolean> prepareAgent)
- Parameters:
prepareAgent- Whether to prepare the agent after creation or modification. Defaults to `true`.- Returns:
- builder
-
prepareAgent
public AgentAgentArgs.Builder prepareAgent(java.lang.Boolean prepareAgent)
- Parameters:
prepareAgent- Whether to prepare the agent after creation or modification. Defaults to `true`.- Returns:
- builder
-
promptOverrideConfigurations
public AgentAgentArgs.Builder promptOverrideConfigurations(@Nullable com.pulumi.core.Output<java.util.List<AgentAgentPromptOverrideConfigurationArgs>> promptOverrideConfigurations)
- Parameters:
promptOverrideConfigurations- Configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). See `promptOverrideConfiguration` Block for details.- Returns:
- builder
-
promptOverrideConfigurations
public AgentAgentArgs.Builder promptOverrideConfigurations(java.util.List<AgentAgentPromptOverrideConfigurationArgs> promptOverrideConfigurations)
- Parameters:
promptOverrideConfigurations- Configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). See `promptOverrideConfiguration` Block for details.- Returns:
- builder
-
promptOverrideConfigurations
public AgentAgentArgs.Builder promptOverrideConfigurations(AgentAgentPromptOverrideConfigurationArgs... promptOverrideConfigurations)
- Parameters:
promptOverrideConfigurations- Configurations to override prompt templates in different parts of an agent sequence. For more information, see [Advanced prompts](https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html). See `promptOverrideConfiguration` Block for details.- Returns:
- builder
-
region
public AgentAgentArgs.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 AgentAgentArgs.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
-
skipResourceInUseCheck
public AgentAgentArgs.Builder skipResourceInUseCheck(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipResourceInUseCheck)
- Parameters:
skipResourceInUseCheck- Whether to skip the in-use check when deleting the agent. Defaults to `false`.- Returns:
- builder
-
skipResourceInUseCheck
public AgentAgentArgs.Builder skipResourceInUseCheck(java.lang.Boolean skipResourceInUseCheck)
- Parameters:
skipResourceInUseCheck- Whether to skip the in-use check when deleting the agent. Defaults to `false`.- Returns:
- builder
-
tags
public AgentAgentArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags assigned to the resource. 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 AgentAgentArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags assigned to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
timeouts
public AgentAgentArgs.Builder timeouts(@Nullable com.pulumi.core.Output<AgentAgentTimeoutsArgs> timeouts)
-
timeouts
public AgentAgentArgs.Builder timeouts(AgentAgentTimeoutsArgs timeouts)
-
build
public AgentAgentArgs build()
-
-