Interface TransactGetItemsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>, DynamoDbResponse.Builder, SdkBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
TransactGetItemsResponse

public static interface TransactGetItemsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
  • Method Details

    • consumedCapacity

      TransactGetItemsResponse.Builder consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)

      If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.

      Parameters:
      consumedCapacity - If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedCapacity

      TransactGetItemsResponse.Builder consumedCapacity(ConsumedCapacity... consumedCapacity)

      If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.

      Parameters:
      consumedCapacity - If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedCapacity

      TransactGetItemsResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)

      If the ReturnConsumedCapacity value was TOTAL, this is an array of ConsumedCapacity objects, one for each table addressed by TransactGetItem objects in the TransactItems parameter. These ConsumedCapacity objects report the read-capacity units consumed by the TransactGetItems call in that table.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to consumedCapacity(List<ConsumedCapacity>).

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

      An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.

      If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.

      Parameters:
      responses - An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.

      If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responses

      An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.

      If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.

      Parameters:
      responses - An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.

      If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responses

      An ordered array of up to 100 ItemResponse objects, each of which corresponds to the TransactGetItem object in the same position in the TransactItems array. Each ItemResponse object contains a Map of the name-value pairs that are the projected attributes of the requested item.

      If a requested item could not be retrieved, the corresponding ItemResponse object is Null, or if the requested item has no projected attributes, the corresponding ItemResponse object is an empty Map.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to responses(List<ItemResponse>).

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