Class AgentAgentState.Builder

  • Enclosing class:
    AgentAgentState

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

      • Builder

        public Builder()
    • Method Detail

      • agentArn

        public AgentAgentState.Builder agentArn​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> agentArn)
        Parameters:
        agentArn - ARN of the agent.
        Returns:
        builder
      • agentArn

        public AgentAgentState.Builder agentArn​(java.lang.String agentArn)
        Parameters:
        agentArn - ARN of the agent.
        Returns:
        builder
      • agentCollaboration

        public AgentAgentState.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 AgentAgentState.Builder agentCollaboration​(java.lang.String agentCollaboration)
        Parameters:
        agentCollaboration - Agents collaboration role. Valid values: `SUPERVISOR`, `SUPERVISOR_ROUTER`, `DISABLED`.
        Returns:
        builder
      • agentId

        public AgentAgentState.Builder agentId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> agentId)
        Parameters:
        agentId - Unique identifier of the agent.
        Returns:
        builder
      • agentId

        public AgentAgentState.Builder agentId​(java.lang.String agentId)
        Parameters:
        agentId - Unique identifier of the agent.
        Returns:
        builder
      • agentName

        public AgentAgentState.Builder agentName​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> agentName)
        Parameters:
        agentName - Name of the agent.
        Returns:
        builder
      • agentName

        public AgentAgentState.Builder agentName​(java.lang.String agentName)
        Parameters:
        agentName - Name of the agent.
        Returns:
        builder
      • agentResourceRoleArn

        public AgentAgentState.Builder agentResourceRoleArn​(@Nullable
                                                            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 AgentAgentState.Builder agentResourceRoleArn​(java.lang.String agentResourceRoleArn)
        Parameters:
        agentResourceRoleArn - ARN of the IAM role with permissions to invoke API operations on the agent.
        Returns:
        builder
      • agentVersion

        public AgentAgentState.Builder agentVersion​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> agentVersion)
        Parameters:
        agentVersion - Version of the agent.
        Returns:
        builder
      • agentVersion

        public AgentAgentState.Builder agentVersion​(java.lang.String agentVersion)
        Parameters:
        agentVersion - Version of the agent.
        Returns:
        builder
      • customerEncryptionKeyArn

        public AgentAgentState.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 AgentAgentState.Builder customerEncryptionKeyArn​(java.lang.String customerEncryptionKeyArn)
        Parameters:
        customerEncryptionKeyArn - ARN of the AWS KMS key that encrypts the agent.
        Returns:
        builder
      • description

        public AgentAgentState.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the agent.
        Returns:
        builder
      • description

        public AgentAgentState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the agent.
        Returns:
        builder
      • foundationModel

        public AgentAgentState.Builder foundationModel​(@Nullable
                                                       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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.Builder guardrailConfigurations​(AgentAgentGuardrailConfigurationArgs... guardrailConfigurations)
        Parameters:
        guardrailConfigurations - Details about the guardrail associated with the agent. See `guardrailConfiguration` Block for details.
        Returns:
        builder
      • idleSessionTtlInSeconds

        public AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.Builder prepareAgent​(java.lang.Boolean prepareAgent)
        Parameters:
        prepareAgent - Whether to prepare the agent after creation or modification. Defaults to `true`.
        Returns:
        builder
      • preparedAt

        public AgentAgentState.Builder preparedAt​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> preparedAt)
        Parameters:
        preparedAt - Timestamp of when the agent was last prepared.
        Returns:
        builder
      • preparedAt

        public AgentAgentState.Builder preparedAt​(java.lang.String preparedAt)
        Parameters:
        preparedAt - Timestamp of when the agent was last prepared.
        Returns:
        builder
      • promptOverrideConfigurations

        public AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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 AgentAgentState.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
      • tagsAll

        public AgentAgentState.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 AgentAgentState.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