Interface GetMemoryRequest.Builder

  • Method Details

    • spaceId

      GetMemoryRequest.Builder spaceId(String spaceId)

      The ID of the space that holds the memory.

      Parameters:
      spaceId - The ID of the space that holds the memory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memoryId

      GetMemoryRequest.Builder memoryId(String memoryId)

      The memory's ID, as returned by SearchMemories or ListMemories.

      Parameters:
      memoryId - The memory's ID, as returned by SearchMemories or ListMemories.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actorId

      GetMemoryRequest.Builder actorId(String actorId)

      The ID of the actor the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with ResourceNotFoundException, as if the memory did not exist.

      Parameters:
      actorId - The ID of the actor the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with ResourceNotFoundException, as if the memory did not exist.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • strategyName

      GetMemoryRequest.Builder strategyName(String strategyName)

      The name of the strategy the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with ResourceNotFoundException, as if the memory did not exist.

      Parameters:
      strategyName - The name of the strategy the memory must belong to. Omit it to skip this check. If it doesn't match the stored memory, the call fails with ResourceNotFoundException, as if the memory did not exist.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetMemoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.