Interface TransactGetItem.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TransactGetItem.Builder,TransactGetItem>
,SdkBuilder<TransactGetItem.Builder,TransactGetItem>
,SdkPojo
- Enclosing class:
- TransactGetItem
public static interface TransactGetItem.Builder extends SdkPojo, CopyableBuilder<TransactGetItem.Builder,TransactGetItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 theGet.Builder
avoiding the need to create one manually viaGet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toget(Get)
.- Parameters:
get
- a consumer that will call methods onGet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
get(Get)
-
-