Interface AgentContextSummary.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 agent context's ARN.

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

      The agent context's friendly name.

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

      AgentContextSummary.Builder description(String description)

      A human-readable description. Absent when none was set.

      Parameters:
      description - A human-readable description. Absent when none 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

      AgentContextSummary.Builder createdAt(Instant 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

      AgentContextSummary.Builder updatedAt(Instant 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.
    • workforceSignInConfig

      AgentContextSummary.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 AgentContextSummary.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: