Modifier and Type | Method and Description |
---|---|
Key |
build()
Construct a
Key from this builder. |
Key.Builder |
partitionValue(AttributeValue partitionValue)
Value to be used for the partition key
|
Key.Builder |
partitionValue(Number partitionValue)
Numeric value to be used for the partition key.
|
Key.Builder |
partitionValue(SdkBytes partitionValue)
Binary value to be used for the partition key.
|
Key.Builder |
partitionValue(String partitionValue)
String value to be used for the partition key.
|
Key.Builder |
sortValue(AttributeValue sortValue)
Value to be used for the sort key
|
Key.Builder |
sortValue(Number sortValue)
Numeric value to be used for the sort key.
|
Key.Builder |
sortValue(SdkBytes sortValue)
Binary value to be used for the sort key.
|
Key.Builder |
sortValue(String sortValue)
String value to be used for the sort key.
|
public Key.Builder partitionValue(AttributeValue partitionValue)
partitionValue
- partition key valuepublic Key.Builder partitionValue(String partitionValue)
partitionValue
- partition key valuepublic Key.Builder partitionValue(Number partitionValue)
partitionValue
- partition key valuepublic Key.Builder partitionValue(SdkBytes partitionValue)
partitionValue
- the bytes to be used for the binary key value.public Key.Builder sortValue(AttributeValue sortValue)
sortValue
- sort key valuepublic Key.Builder sortValue(String sortValue)
sortValue
- sort key valuepublic Key.Builder sortValue(Number sortValue)
sortValue
- sort key valuepublic Key.Builder sortValue(SdkBytes sortValue)
sortValue
- the bytes to be used for the binary key value.Copyright © 2021. All rights reserved.