Interface KeySchemaElement.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<KeySchemaElement.Builder,KeySchemaElement>
,SdkBuilder<KeySchemaElement.Builder,KeySchemaElement>
,SdkPojo
- Enclosing class:
- KeySchemaElement
public static interface KeySchemaElement.Builder extends SdkPojo, CopyableBuilder<KeySchemaElement.Builder,KeySchemaElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeySchemaElement.Builder
attributeName(String attributeName)
The name of a key attribute.KeySchemaElement.Builder
keyType(String keyType)
The role that this key attribute will assume:KeySchemaElement.Builder
keyType(KeyType keyType)
The role that this key attribute will assume:-
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
-
attributeName
KeySchemaElement.Builder attributeName(String attributeName)
The name of a key attribute.
- Parameters:
attributeName
- The name of a key attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyType
KeySchemaElement.Builder keyType(String keyType)
The role that this key attribute will assume:
-
HASH
- partition key -
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
- Parameters:
keyType
- The role that this key attribute will assume:-
HASH
- partition key -
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyType
,KeyType
-
-
keyType
KeySchemaElement.Builder keyType(KeyType keyType)
The role that this key attribute will assume:
-
HASH
- partition key -
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
- Parameters:
keyType
- The role that this key attribute will assume:-
HASH
- partition key -
RANGE
- sort key
The partition key of an item is also known as its hash attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute. The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KeyType
,KeyType
-
-
-