Interface Get.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Get.Builder,Get>,SdkBuilder<Get.Builder,Get>,SdkPojo
- Enclosing class:
- Get
@Mutable @NotThreadSafe public static interface Get.Builder extends SdkPojo, CopyableBuilder<Get.Builder,Get>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Get.BuilderexpressionAttributeNames(Map<String,String> expressionAttributeNames)One or more substitution tokens for attribute names in the ProjectionExpression parameter.Get.Builderkey(Map<String,AttributeValue> key)A map of attribute names toAttributeValueobjects that specifies the primary key of the item to retrieve.Get.BuilderprojectionExpression(String projectionExpression)A string that identifies one or more attributes of the specified item to retrieve from the table.Get.BuildertableName(String tableName)The name of the table from which to retrieve the specified item.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
key
Get.Builder key(Map<String,AttributeValue> key)
A map of attribute names to
AttributeValueobjects that specifies the primary key of the item to retrieve.- Parameters:
key- A map of attribute names toAttributeValueobjects that specifies the primary key of the item to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
Get.Builder tableName(String tableName)
The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
- Parameters:
tableName- The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectionExpression
Get.Builder projectionExpression(String projectionExpression)
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
- Parameters:
projectionExpression- A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expressionAttributeNames
Get.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in the ProjectionExpression parameter.
- Parameters:
expressionAttributeNames- One or more substitution tokens for attribute names in the ProjectionExpression parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-