Interface DeleteMemoryRequest.Builder

  • Method Details

    • spaceId

      The ID of the space that owns the memory.

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

      DeleteMemoryRequest.Builder memoryId(String memoryId)

      The ID of the memory to delete.

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

      The ID of the actor that 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 that 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

      DeleteMemoryRequest.Builder strategyName(String strategyName)

      The name of the strategy that 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 that 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

      DeleteMemoryRequest.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.