Package com.pulumi.aws.bedrock.inputs
Class AgentAgentState.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.inputs.AgentAgentState.Builder
-
- Enclosing class:
- AgentAgentState
public static final class AgentAgentState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentAgentState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentAgentState.BuilderagentArn(com.pulumi.core.Output<java.lang.String> agentArn)AgentAgentState.BuilderagentArn(java.lang.String agentArn)AgentAgentState.BuilderagentCollaboration(com.pulumi.core.Output<java.lang.String> agentCollaboration)AgentAgentState.BuilderagentCollaboration(java.lang.String agentCollaboration)AgentAgentState.BuilderagentId(com.pulumi.core.Output<java.lang.String> agentId)AgentAgentState.BuilderagentId(java.lang.String agentId)AgentAgentState.BuilderagentName(com.pulumi.core.Output<java.lang.String> agentName)AgentAgentState.BuilderagentName(java.lang.String agentName)AgentAgentState.BuilderagentResourceRoleArn(com.pulumi.core.Output<java.lang.String> agentResourceRoleArn)AgentAgentState.BuilderagentResourceRoleArn(java.lang.String agentResourceRoleArn)AgentAgentState.BuilderagentVersion(com.pulumi.core.Output<java.lang.String> agentVersion)AgentAgentState.BuilderagentVersion(java.lang.String agentVersion)AgentAgentStatebuild()AgentAgentState.BuildercustomerEncryptionKeyArn(com.pulumi.core.Output<java.lang.String> customerEncryptionKeyArn)AgentAgentState.BuildercustomerEncryptionKeyArn(java.lang.String customerEncryptionKeyArn)AgentAgentState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)AgentAgentState.Builderdescription(java.lang.String description)AgentAgentState.BuilderfoundationModel(com.pulumi.core.Output<java.lang.String> foundationModel)AgentAgentState.BuilderfoundationModel(java.lang.String foundationModel)AgentAgentState.BuilderguardrailConfigurations(AgentAgentGuardrailConfigurationArgs... guardrailConfigurations)AgentAgentState.BuilderguardrailConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentGuardrailConfigurationArgs>> guardrailConfigurations)AgentAgentState.BuilderguardrailConfigurations(java.util.List<AgentAgentGuardrailConfigurationArgs> guardrailConfigurations)AgentAgentState.BuilderidleSessionTtlInSeconds(com.pulumi.core.Output<java.lang.Integer> idleSessionTtlInSeconds)AgentAgentState.BuilderidleSessionTtlInSeconds(java.lang.Integer idleSessionTtlInSeconds)AgentAgentState.Builderinstruction(com.pulumi.core.Output<java.lang.String> instruction)AgentAgentState.Builderinstruction(java.lang.String instruction)AgentAgentState.BuildermemoryConfigurations(AgentAgentMemoryConfigurationArgs... memoryConfigurations)AgentAgentState.BuildermemoryConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentMemoryConfigurationArgs>> memoryConfigurations)AgentAgentState.BuildermemoryConfigurations(java.util.List<AgentAgentMemoryConfigurationArgs> memoryConfigurations)AgentAgentState.BuilderprepareAgent(com.pulumi.core.Output<java.lang.Boolean> prepareAgent)AgentAgentState.BuilderprepareAgent(java.lang.Boolean prepareAgent)AgentAgentState.BuilderpreparedAt(com.pulumi.core.Output<java.lang.String> preparedAt)AgentAgentState.BuilderpreparedAt(java.lang.String preparedAt)AgentAgentState.BuilderpromptOverrideConfigurations(AgentAgentPromptOverrideConfigurationArgs... promptOverrideConfigurations)AgentAgentState.BuilderpromptOverrideConfigurations(com.pulumi.core.Output<java.util.List<AgentAgentPromptOverrideConfigurationArgs>> promptOverrideConfigurations)AgentAgentState.BuilderpromptOverrideConfigurations(java.util.List<AgentAgentPromptOverrideConfigurationArgs> promptOverrideConfigurations)AgentAgentState.Builderregion(com.pulumi.core.Output<java.lang.String> region)AgentAgentState.Builderregion(java.lang.String region)AgentAgentState.BuilderskipResourceInUseCheck(com.pulumi.core.Output<java.lang.Boolean> skipResourceInUseCheck)AgentAgentState.BuilderskipResourceInUseCheck(java.lang.Boolean skipResourceInUseCheck)AgentAgentState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)AgentAgentState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)AgentAgentState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)AgentAgentState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)AgentAgentState.Buildertimeouts(AgentAgentTimeoutsArgs timeouts)AgentAgentState.Buildertimeouts(com.pulumi.core.Output<AgentAgentTimeoutsArgs> timeouts)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentAgentState defaults)
-
-
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
-
timeouts
public AgentAgentState.Builder timeouts(@Nullable com.pulumi.core.Output<AgentAgentTimeoutsArgs> timeouts)
-
timeouts
public AgentAgentState.Builder timeouts(AgentAgentTimeoutsArgs timeouts)
-
build
public AgentAgentState build()
-
-