public class KeyPair extends Object
Constructor and Description |
---|
KeyPair() |
Modifier and Type | Method and Description |
---|---|
Object |
getHashKey() |
Object |
getRangeKey() |
void |
setHashKey(Object hashKey)
set the hash key.
|
void |
setRangeKey(Object rangeKey)
sets the range key.
|
KeyPair |
withHashKey(Object hashkey)
sets the hash key
|
KeyPair |
withRangeKey(Object rangeKey)
sets the range key
|
public KeyPair withHashKey(Object hashkey)
hashkey
- the hash keyKeyPair
public KeyPair withRangeKey(Object rangeKey)
rangeKey
- the range keyKeyPair
public void setHashKey(Object hashKey)
hashKey
- the hash key.public void setRangeKey(Object rangeKey)
rangeKey
- the range keypublic Object getHashKey()
public Object getRangeKey()
Copyright © 2019. All rights reserved.