Package com.pulumi.aws.bedrock
Class AgentAgentActionGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.AgentAgentActionGroupArgs.Builder
-
- Enclosing class:
- AgentAgentActionGroupArgs
public static final class AgentAgentActionGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentAgentActionGroupArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentAgentActionGroupArgs defaults)
-
-
Method Detail
-
actionGroupExecutor
public AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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
-
actionGroupName
public AgentAgentActionGroupArgs.Builder actionGroupName(com.pulumi.core.Output<java.lang.String> actionGroupName)
- Parameters:
actionGroupName- Name of the action group.- Returns:
- builder
-
actionGroupName
public AgentAgentActionGroupArgs.Builder actionGroupName(java.lang.String actionGroupName)
- Parameters:
actionGroupName- Name of the action group.- Returns:
- builder
-
actionGroupState
public AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.Builder agentId(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 AgentAgentActionGroupArgs.Builder agentId(java.lang.String agentId)
- Parameters:
agentId- Unique identifier of the agent for which to create the action group.- Returns:
- builder
-
agentVersion
public AgentAgentActionGroupArgs.Builder agentVersion(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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the action group.- Returns:
- builder
-
description
public AgentAgentActionGroupArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the action group.- Returns:
- builder
-
functionSchema
public AgentAgentActionGroupArgs.Builder functionSchema(@Nullable com.pulumi.core.Output<AgentAgentActionGroupFunctionSchemaArgs> functionSchema)
- Parameters:
functionSchema- Function schema for the action group. Each function represents an action in an action group. See `functionSchema` Block for details.- Returns:
- builder
-
functionSchema
public AgentAgentActionGroupArgs.Builder functionSchema(AgentAgentActionGroupFunctionSchemaArgs functionSchema)
- Parameters:
functionSchema- Function schema for the action group. Each function represents an action in an action group. See `functionSchema` Block for details.- Returns:
- builder
-
parentActionGroupSignature
public AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.Builder prepareAgent(java.lang.Boolean prepareAgent)
- Parameters:
prepareAgent- Whether to prepare the agent after creation or modification. Defaults to `true`.- Returns:
- builder
-
region
public AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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 AgentAgentActionGroupArgs.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
-
timeouts
public AgentAgentActionGroupArgs.Builder timeouts(@Nullable com.pulumi.core.Output<AgentAgentActionGroupTimeoutsArgs> timeouts)
-
timeouts
public AgentAgentActionGroupArgs.Builder timeouts(AgentAgentActionGroupTimeoutsArgs timeouts)
-
build
public AgentAgentActionGroupArgs build()
-
-