|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.AttributeValue
public class AttributeValue
AttributeValue can be String
,
Number
,
Binary
,
StringSet
,
NumberSet
,
BinarySet
.
Constructor Summary | |
---|---|
AttributeValue()
Default constructor for a new AttributeValue object. |
|
AttributeValue(List<String> sS)
Constructs a new AttributeValue object. |
|
AttributeValue(String s)
Constructs a new AttributeValue object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
ByteBuffer |
getB()
Binary attributes are sequences of unsigned bytes. |
List<ByteBuffer> |
getBS()
A set of binary attributes. |
String |
getN()
Numbers are positive or negative exact-value decimals and integers. |
List<String> |
getNS()
A set of numbers. |
String |
getS()
Strings are Unicode with UTF-8 binary encoding. |
List<String> |
getSS()
A set of strings. |
int |
hashCode()
|
void |
setB(ByteBuffer b)
Binary attributes are sequences of unsigned bytes. |
void |
setBS(Collection<ByteBuffer> bS)
A set of binary attributes. |
void |
setN(String n)
Numbers are positive or negative exact-value decimals and integers. |
void |
setNS(Collection<String> nS)
A set of numbers. |
void |
setS(String s)
Strings are Unicode with UTF-8 binary encoding. |
void |
setSS(Collection<String> sS)
A set of strings. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttributeValue |
withB(ByteBuffer b)
Binary attributes are sequences of unsigned bytes. |
AttributeValue |
withBS(ByteBuffer... bS)
A set of binary attributes. |
AttributeValue |
withBS(Collection<ByteBuffer> bS)
A set of binary attributes. |
AttributeValue |
withN(String n)
Numbers are positive or negative exact-value decimals and integers. |
AttributeValue |
withNS(Collection<String> nS)
A set of numbers. |
AttributeValue |
withNS(String... nS)
A set of numbers. |
AttributeValue |
withS(String s)
Strings are Unicode with UTF-8 binary encoding. |
AttributeValue |
withSS(Collection<String> sS)
A set of strings. |
AttributeValue |
withSS(String... sS)
A set of strings. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeValue()
public AttributeValue(String s)
s
- Strings are Unicode with UTF-8 binary encoding. The maximum
size is limited by the size of the primary key (1024 bytes as a range
part of a key or 2048 bytes as a single part hash key) or the item
size (64k).public AttributeValue(List<String> sS)
sS
- A set of strings.Method Detail |
---|
public String getS()
public void setS(String s)
s
- Strings are Unicode with UTF-8 binary encoding. The maximum size is
limited by the size of the primary key (1024 bytes as a range part of
a key or 2048 bytes as a single part hash key) or the item size (64k).public AttributeValue withS(String s)
Returns a reference to this object so that method calls can be chained together.
s
- Strings are Unicode with UTF-8 binary encoding. The maximum size is
limited by the size of the primary key (1024 bytes as a range part of
a key or 2048 bytes as a single part hash key) or the item size (64k).
public String getN()
public void setN(String n)
n
- Numbers are positive or negative exact-value decimals and integers. A
number can have up to 38 digits precision and can be between 10^-128
to 10^+126.public AttributeValue withN(String n)
Returns a reference to this object so that method calls can be chained together.
n
- Numbers are positive or negative exact-value decimals and integers. A
number can have up to 38 digits precision and can be between 10^-128
to 10^+126.
public ByteBuffer getB()
public void setB(ByteBuffer b)
b
- Binary attributes are sequences of unsigned bytes.public AttributeValue withB(ByteBuffer b)
Returns a reference to this object so that method calls can be chained together.
b
- Binary attributes are sequences of unsigned bytes.
public List<String> getSS()
public void setSS(Collection<String> sS)
sS
- A set of strings.public AttributeValue withSS(String... sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A set of strings.
public AttributeValue withSS(Collection<String> sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A set of strings.
public List<String> getNS()
public void setNS(Collection<String> nS)
nS
- A set of numbers.public AttributeValue withNS(String... nS)
Returns a reference to this object so that method calls can be chained together.
nS
- A set of numbers.
public AttributeValue withNS(Collection<String> nS)
Returns a reference to this object so that method calls can be chained together.
nS
- A set of numbers.
public List<ByteBuffer> getBS()
public void setBS(Collection<ByteBuffer> bS)
bS
- A set of binary attributes.public AttributeValue withBS(ByteBuffer... bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A set of binary attributes.
public AttributeValue withBS(Collection<ByteBuffer> bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A set of binary attributes.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |