@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-27T20:28:49.220Z") @Stability(value=Stable) public interface DynamoGetItemProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Example:
Table myTable;
DynamoGetItem.Builder.create(this, "Get Item")
.key(Map.of("messageId", DynamoAttributeValue.fromString("message-007")))
.table(myTable)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DynamoGetItemProps.Builder
A builder for
DynamoGetItemProps |
static class |
DynamoGetItemProps.Jsii$Proxy
An implementation for
DynamoGetItemProps |
| Modifier and Type | Method and Description |
|---|---|
static DynamoGetItemProps.Builder |
builder() |
default Boolean |
getConsistentRead()
Determines the read consistency model: If set to true, then the operation uses strongly consistent reads;
|
default Map<String,String> |
getExpressionAttributeNames()
One or more substitution tokens for attribute names in an expression.
|
Map<String,DynamoAttributeValue> |
getKey()
Primary key of the item to retrieve.
|
default List<DynamoProjectionExpression> |
getProjectionExpression()
An array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table.
|
default DynamoConsumedCapacity |
getReturnConsumedCapacity()
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
ITable |
getTable()
The name of the table containing the requested item.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Stable) @NotNull Map<String,DynamoAttributeValue> getKey()
For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
@Stability(value=Stable) @NotNull ITable getTable()
@Stability(value=Stable) @Nullable default Boolean getConsistentRead()
otherwise, the operation uses eventually consistent reads.
Default: false
@Stability(value=Stable) @Nullable default Map<String,String> getExpressionAttributeNames()
Default: - No expression attributes
@Stability(value=Stable) @Nullable default List<DynamoProjectionExpression> getProjectionExpression()
These attributes can include scalars, sets, or elements of a JSON document.
Default: - No projection expression
@Stability(value=Stable) @Nullable default DynamoConsumedCapacity getReturnConsumedCapacity()
Default: DynamoConsumedCapacity.NONE
@Stability(value=Stable) static DynamoGetItemProps.Builder builder()
builder in interface TaskStateBasePropsDynamoGetItemProps.Builder of DynamoGetItemPropsCopyright © 2022. All rights reserved.