Interface CreateMemoryResponse.Builder

  • Method Details

    • memory

      The details of the created memory, including its ID, ARN, name, description, and configuration settings.

      Parameters:
      memory - The details of the created memory, including its ID, ARN, name, description, and configuration settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memory

      The details of the created memory, including its ID, ARN, name, description, and configuration settings.

      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: