Class AgentAgentActionGroupState.Builder

  • Enclosing class:
    AgentAgentActionGroupState

    public static final class AgentAgentActionGroupState.Builder
    extends java.lang.Object
    • Method Detail

      • actionGroupExecutor

        public AgentAgentActionGroupState.Builder actionGroupExecutor​(@Nullable
                                                                      com.pulumi.core.Output<AgentAgentActionGroupActionGroupExecutorArgs> actionGroupExecutor)
        Parameters:
        actionGroupExecutor - ARN of the Lambda function containing the business logic that is carried out upon invoking the action or custom control method for handling the information elicited from the user. See `actionGroupExecutor` Block for details.
        Returns:
        builder
      • actionGroupExecutor

        public AgentAgentActionGroupState.Builder actionGroupExecutor​(AgentAgentActionGroupActionGroupExecutorArgs actionGroupExecutor)
        Parameters:
        actionGroupExecutor - ARN of the Lambda function containing the business logic that is carried out upon invoking the action or custom control method for handling the information elicited from the user. See `actionGroupExecutor` Block for details.
        Returns:
        builder
      • actionGroupId

        public AgentAgentActionGroupState.Builder actionGroupId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> actionGroupId)
        Parameters:
        actionGroupId - Unique identifier of the action group.
        Returns:
        builder
      • actionGroupId

        public AgentAgentActionGroupState.Builder actionGroupId​(java.lang.String actionGroupId)
        Parameters:
        actionGroupId - Unique identifier of the action group.
        Returns:
        builder
      • actionGroupName

        public AgentAgentActionGroupState.Builder actionGroupName​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> actionGroupName)
        Parameters:
        actionGroupName - Name of the action group.
        Returns:
        builder
      • actionGroupName

        public AgentAgentActionGroupState.Builder actionGroupName​(java.lang.String actionGroupName)
        Parameters:
        actionGroupName - Name of the action group.
        Returns:
        builder
      • actionGroupState

        public AgentAgentActionGroupState.Builder actionGroupState​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> actionGroupState)
        Parameters:
        actionGroupState - Whether the action group is available for the agent to invoke or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. Valid values: `ENABLED`, `DISABLED`.
        Returns:
        builder
      • actionGroupState

        public AgentAgentActionGroupState.Builder actionGroupState​(java.lang.String actionGroupState)
        Parameters:
        actionGroupState - Whether the action group is available for the agent to invoke or not when sending an [InvokeAgent](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html) request. Valid values: `ENABLED`, `DISABLED`.
        Returns:
        builder
      • agentId

        public AgentAgentActionGroupState.Builder agentId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> agentId)
        Parameters:
        agentId - Unique identifier of the agent for which to create the action group.
        Returns:
        builder
      • agentId

        public AgentAgentActionGroupState.Builder agentId​(java.lang.String agentId)
        Parameters:
        agentId - Unique identifier of the agent for which to create the action group.
        Returns:
        builder
      • agentVersion

        public AgentAgentActionGroupState.Builder agentVersion​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> agentVersion)
        Parameters:
        agentVersion - Version of the agent for which to create the action group. Valid values: `DRAFT`. The following arguments are optional:
        Returns:
        builder
      • agentVersion

        public AgentAgentActionGroupState.Builder agentVersion​(java.lang.String agentVersion)
        Parameters:
        agentVersion - Version of the agent for which to create the action group. Valid values: `DRAFT`. The following arguments are optional:
        Returns:
        builder
      • apiSchema

        public AgentAgentActionGroupState.Builder apiSchema​(@Nullable
                                                            com.pulumi.core.Output<AgentAgentActionGroupApiSchemaArgs> apiSchema)
        Parameters:
        apiSchema - Either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see [Action group OpenAPI schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). See `apiSchema` Block for details.
        Returns:
        builder
      • apiSchema

        public AgentAgentActionGroupState.Builder apiSchema​(AgentAgentActionGroupApiSchemaArgs apiSchema)
        Parameters:
        apiSchema - Either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see [Action group OpenAPI schemas](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html). See `apiSchema` Block for details.
        Returns:
        builder
      • description

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

        public AgentAgentActionGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the action group.
        Returns:
        builder
      • parentActionGroupSignature

        public AgentAgentActionGroupState.Builder parentActionGroupSignature​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> parentActionGroupSignature)
        Parameters:
        parentActionGroupSignature - To allow your agent to request the user for additional information when trying to complete a task, set this argument to `AMAZON.UserInput`. You must leave the `description`, `apiSchema`, and `actionGroupExecutor` arguments blank for this action group. Valid values: `AMAZON.UserInput`.
        Returns:
        builder
      • parentActionGroupSignature

        public AgentAgentActionGroupState.Builder parentActionGroupSignature​(java.lang.String parentActionGroupSignature)
        Parameters:
        parentActionGroupSignature - To allow your agent to request the user for additional information when trying to complete a task, set this argument to `AMAZON.UserInput`. You must leave the `description`, `apiSchema`, and `actionGroupExecutor` arguments blank for this action group. Valid values: `AMAZON.UserInput`.
        Returns:
        builder
      • prepareAgent

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

        public AgentAgentActionGroupState.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 AgentAgentActionGroupState.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 AgentAgentActionGroupState.Builder skipResourceInUseCheck​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.Boolean> skipResourceInUseCheck)
        Parameters:
        skipResourceInUseCheck - Whether to skip the in-use check when deleting the action group. Defaults to `false`.
        Returns:
        builder
      • skipResourceInUseCheck

        public AgentAgentActionGroupState.Builder skipResourceInUseCheck​(java.lang.Boolean skipResourceInUseCheck)
        Parameters:
        skipResourceInUseCheck - Whether to skip the in-use check when deleting the action group. Defaults to `false`.
        Returns:
        builder