Interface GetMemoryResponse.Builder

  • Method Details

    • memory

      The memory. Always present: a memory that doesn't exist returns ResourceNotFoundException.

      Parameters:
      memory - The memory. Always present: a memory that doesn't exist returns ResourceNotFoundException .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memory

      The memory. Always present: a memory that doesn't exist returns ResourceNotFoundException.

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

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

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