Interface UpdateAgentContextResponse.Builder

  • Method Details

    • id

      The agent context's opaque ID.

      Parameters:
      id - The agent context's opaque ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the agent context, in the form arn:<partition>:context:<region>:<account-id>:agent-context/<id>.

      Parameters:
      arn - The ARN of the agent context, in the form arn:<partition>:context:<region>:<account-id>:agent-context/<id>.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the agent context. If you didn't specify a name when you created it, the name is default.

      Parameters:
      name - The name of the agent context. If you didn't specify a name when you created it, the name is default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateAgentContextResponse.Builder description(String description)

      A human-readable description, if one was set.

      Parameters:
      description - A human-readable description, if one was set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The agent context's lifecycle status.

      Valid values:

      • CREATING - The agent context is being created.

      • ACTIVE - The agent context is ready to use.

      • UPDATING - The agent context is being updated.

      • DELETING - The agent context is being deleted.

      • FAILED - The agent context failed.

      Parameters:
      status - The agent context's lifecycle status.

      Valid values:

      • CREATING - The agent context is being created.

      • ACTIVE - The agent context is ready to use.

      • UPDATING - The agent context is being updated.

      • DELETING - The agent context is being deleted.

      • FAILED - The agent context failed.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The agent context's lifecycle status.

      Valid values:

      • CREATING - The agent context is being created.

      • ACTIVE - The agent context is ready to use.

      • UPDATING - The agent context is being updated.

      • DELETING - The agent context is being deleted.

      • FAILED - The agent context failed.

      Parameters:
      status - The agent context's lifecycle status.

      Valid values:

      • CREATING - The agent context is being created.

      • ACTIVE - The agent context is ready to use.

      • UPDATING - The agent context is being updated.

      • DELETING - The agent context is being deleted.

      • FAILED - The agent context failed.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      The date and time when the agent context was created.

      Parameters:
      createdAt - The date and time when the agent context was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      When the resource last changed. Equal to createdAt until the first update.

      Parameters:
      updatedAt - When the resource last changed. Equal to createdAt until the first update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextResponse.Builder connectionMappings(Collection<ConnectionMapping> connectionMappings)

      The agent context's connection mappings.

      Parameters:
      connectionMappings - The agent context's connection mappings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextResponse.Builder connectionMappings(ConnectionMapping... connectionMappings)

      The agent context's connection mappings.

      Parameters:
      connectionMappings - The agent context's connection mappings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectionMappings

      UpdateAgentContextResponse.Builder connectionMappings(Consumer<ConnectionMapping.Builder>... connectionMappings)

      The agent context's connection mappings.

      This is a convenience method that creates an instance of the ConnectionMapping.Builder avoiding the need to create one manually via ConnectionMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectionMappings(List<ConnectionMapping>).

      Parameters:
      connectionMappings - a consumer that will call methods on ConnectionMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionConfig

      UpdateAgentContextResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)

      The agent context's encryption settings.

      Parameters:
      encryptionConfig - The agent context's encryption settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfig

      default UpdateAgentContextResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)

      The agent context's encryption settings.

      This is a convenience method that creates an instance of the EncryptionConfig.Builder avoiding the need to create one manually via EncryptionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfig(EncryptionConfig).

      Parameters:
      encryptionConfig - a consumer that will call methods on EncryptionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • traceAnalysisConfig

      UpdateAgentContextResponse.Builder traceAnalysisConfig(TraceAnalysisConfig traceAnalysisConfig)

      The agent context's trace analysis settings.

      Parameters:
      traceAnalysisConfig - The agent context's trace analysis settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceAnalysisConfig

      default UpdateAgentContextResponse.Builder traceAnalysisConfig(Consumer<TraceAnalysisConfig.Builder> traceAnalysisConfig)

      The agent context's trace analysis settings.

      This is a convenience method that creates an instance of the TraceAnalysisConfig.Builder avoiding the need to create one manually via TraceAnalysisConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to traceAnalysisConfig(TraceAnalysisConfig).

      Parameters:
      traceAnalysisConfig - a consumer that will call methods on TraceAnalysisConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workforceSignInConfig

      UpdateAgentContextResponse.Builder workforceSignInConfig(WorkforceSignInConfig workforceSignInConfig)

      How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). status reads ENABLED while a sign-in URL is stored, DISABLED otherwise.

      Parameters:
      workforceSignInConfig - How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). status reads ENABLED while a sign-in URL is stored, DISABLED otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workforceSignInConfig

      default UpdateAgentContextResponse.Builder workforceSignInConfig(Consumer<WorkforceSignInConfig.Builder> workforceSignInConfig)

      How your employees sign in to this agent context's MCP server through your identity provider (workforce sign-in). status reads ENABLED while a sign-in URL is stored, DISABLED otherwise.

      This is a convenience method that creates an instance of the WorkforceSignInConfig.Builder avoiding the need to create one manually via WorkforceSignInConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workforceSignInConfig(WorkforceSignInConfig).

      Parameters:
      workforceSignInConfig - a consumer that will call methods on WorkforceSignInConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entityResolutionConfig

      UpdateAgentContextResponse.Builder entityResolutionConfig(EntityResolutionConfig entityResolutionConfig)

      The agent context's entity resolution settings. Populated on every response path that returns the resource.

      Parameters:
      entityResolutionConfig - The agent context's entity resolution settings. Populated on every response path that returns the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entityResolutionConfig

      default UpdateAgentContextResponse.Builder entityResolutionConfig(Consumer<EntityResolutionConfig.Builder> entityResolutionConfig)

      The agent context's entity resolution settings. Populated on every response path that returns the resource.

      This is a convenience method that creates an instance of the EntityResolutionConfig.Builder avoiding the need to create one manually via EntityResolutionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entityResolutionConfig(EntityResolutionConfig).

      Parameters:
      entityResolutionConfig - a consumer that will call methods on EntityResolutionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mcpServerUrl

      UpdateAgentContextResponse.Builder mcpServerUrl(String mcpServerUrl)

      The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is ENABLED. The URL is the agent context's MCP endpoint, with workforceSignInConfig.signInUrl as its login_hint query parameter and the ID that AWS Context assigns to that sign-in URL as its tenantId query parameter. Absent while workforce sign-in is DISABLED.

      Parameters:
      mcpServerUrl - The Model Context Protocol (MCP) server URL to give your employees while workforce sign-in is ENABLED. The URL is the agent context's MCP endpoint, with workforceSignInConfig.signInUrl as its login_hint query parameter and the ID that AWS Context assigns to that sign-in URL as its tenantId query parameter. Absent while workforce sign-in is DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedIdentitySources

      UpdateAgentContextResponse.Builder trustedIdentitySources(Collection<TrustedIdentitySource> trustedIdentitySources)

      Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.

      Parameters:
      trustedIdentitySources - Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedIdentitySources

      UpdateAgentContextResponse.Builder trustedIdentitySources(TrustedIdentitySource... trustedIdentitySources)

      Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.

      Parameters:
      trustedIdentitySources - Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedIdentitySources

      UpdateAgentContextResponse.Builder trustedIdentitySources(Consumer<TrustedIdentitySource.Builder>... trustedIdentitySources)

      Identity sources this agent context trusts in addition to its owner's account. Absent or empty: only the owner's account is trusted.

      This is a convenience method that creates an instance of the TrustedIdentitySource.Builder avoiding the need to create one manually via TrustedIdentitySource.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trustedIdentitySources(List<TrustedIdentitySource>).

      Parameters:
      trustedIdentitySources - a consumer that will call methods on TrustedIdentitySource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: