Interface TransactGetItem.Builder

    • Method Detail

      • get

        TransactGetItem.Builder get​(Get get)

        Contains the primary key that identifies the item to get, together with the name of the table that contains the item, and optionally the specific attributes of the item to retrieve.

        Parameters:
        get - Contains the primary key that identifies the item to get, together with the name of the table that contains the item, and optionally the specific attributes of the item to retrieve.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • get

        default TransactGetItem.Builder get​(Consumer<Get.Builder> get)

        Contains the primary key that identifies the item to get, together with the name of the table that contains the item, and optionally the specific attributes of the item to retrieve.

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

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

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