Interface MemoryRecordUpdateInput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MemoryRecordUpdateInput.Builder,MemoryRecordUpdateInput>, SdkBuilder<MemoryRecordUpdateInput.Builder,MemoryRecordUpdateInput>, SdkPojo
Enclosing class:
MemoryRecordUpdateInput

@Mutable @NotThreadSafe public static interface MemoryRecordUpdateInput.Builder extends SdkPojo, CopyableBuilder<MemoryRecordUpdateInput.Builder,MemoryRecordUpdateInput>
  • Method Details

    • memoryRecordId

      MemoryRecordUpdateInput.Builder memoryRecordId(String memoryRecordId)

      The unique ID of the memory record to be updated.

      Parameters:
      memoryRecordId - The unique ID of the memory record to be updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      Time at which the memory record was updated

      Parameters:
      timestamp - Time at which the memory record was updated
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The content to be stored within the memory record.

      Parameters:
      content - The content to be stored within the memory record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The content to be stored within the memory record.

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

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

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

      The updated list of namespace identifiers for categorizing the memory record.

      Parameters:
      namespaces - The updated list of namespace identifiers for categorizing the memory record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • namespaces

      MemoryRecordUpdateInput.Builder namespaces(String... namespaces)

      The updated list of namespace identifiers for categorizing the memory record.

      Parameters:
      namespaces - The updated list of namespace identifiers for categorizing the memory record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryStrategyId

      MemoryRecordUpdateInput.Builder memoryStrategyId(String memoryStrategyId)

      The updated ID of the memory strategy that defines how this memory record is grouped.

      Parameters:
      memoryStrategyId - The updated ID of the memory strategy that defines how this memory record is grouped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Metadata key-value pairs to be stored with the memory record.

      Parameters:
      metadata - Metadata key-value pairs to be stored with the memory record.
      Returns:
      Returns a reference to this object so that method calls can be chained together.