Interface Association.Builder

  • Method Details

    • agentSpaceId

      Association.Builder agentSpaceId(String agentSpaceId)

      The unique identifier of the AgentSpace

      Parameters:
      agentSpaceId - The unique identifier of the AgentSpace
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Association.Builder createdAt(Instant createdAt)

      The timestamp when the resource was created.

      Parameters:
      createdAt - The timestamp when the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Association.Builder updatedAt(Instant updatedAt)

      The timestamp when the resource was last updated.

      Parameters:
      updatedAt - The timestamp when the resource was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Association.Builder status(String status)

      Validation status

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

      Validation status

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

      Association.Builder associationId(String associationId)

      The unique identifier of the given association.

      Parameters:
      associationId - The unique identifier of the given association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceId

      Association.Builder serviceId(String serviceId)

      The identifier for associated service

      Parameters:
      serviceId - The identifier for associated service
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      Association.Builder configuration(ServiceConfiguration configuration)

      The configuration that directs how AgentSpace interacts with the given service.

      Parameters:
      configuration - The configuration that directs how AgentSpace interacts with the given service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default Association.Builder configuration(Consumer<ServiceConfiguration.Builder> configuration)

      The configuration that directs how AgentSpace interacts with the given service.

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

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

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