Class AgentAgentArgs.Builder

  • Enclosing class:
    AgentAgentArgs

    public static final class AgentAgentArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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