|
Did this page help you?Yes No Tell us about it... |
||||||
| 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(java.util.List<java.lang.String> sS)
Constructs a new AttributeValue object. |
|
AttributeValue(java.lang.String s)
Constructs a new AttributeValue object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.nio.ByteBuffer |
getB()
Binary attributes are sequences of unsigned bytes. |
java.util.List<java.nio.ByteBuffer> |
getBS()
A set of binary attributes. |
java.lang.String |
getN()
Numbers are positive or negative exact-value decimals and integers. |
java.util.List<java.lang.String> |
getNS()
A set of numbers. |
java.lang.String |
getS()
Strings are Unicode with UTF-8 binary encoding. |
java.util.List<java.lang.String> |
getSS()
A set of strings. |
int |
hashCode()
|
void |
setB(java.nio.ByteBuffer b)
Binary attributes are sequences of unsigned bytes. |
void |
setBS(java.util.Collection<java.nio.ByteBuffer> bS)
A set of binary attributes. |
void |
setN(java.lang.String n)
Numbers are positive or negative exact-value decimals and integers. |
void |
setNS(java.util.Collection<java.lang.String> nS)
A set of numbers. |
void |
setS(java.lang.String s)
Strings are Unicode with UTF-8 binary encoding. |
void |
setSS(java.util.Collection<java.lang.String> sS)
A set of strings. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttributeValue |
withB(java.nio.ByteBuffer b)
Binary attributes are sequences of unsigned bytes. |
AttributeValue |
withBS(java.nio.ByteBuffer... bS)
A set of binary attributes. |
AttributeValue |
withBS(java.util.Collection<java.nio.ByteBuffer> bS)
A set of binary attributes. |
AttributeValue |
withN(java.lang.String n)
Numbers are positive or negative exact-value decimals and integers. |
AttributeValue |
withNS(java.util.Collection<java.lang.String> nS)
A set of numbers. |
AttributeValue |
withNS(java.lang.String... nS)
A set of numbers. |
AttributeValue |
withS(java.lang.String s)
Strings are Unicode with UTF-8 binary encoding. |
AttributeValue |
withSS(java.util.Collection<java.lang.String> sS)
A set of strings. |
AttributeValue |
withSS(java.lang.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(java.lang.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(java.util.List<java.lang.String> sS)
sS - A set of strings.| Method Detail |
|---|
public java.lang.String getS()
public void setS(java.lang.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(java.lang.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 java.lang.String getN()
public void setN(java.lang.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(java.lang.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 java.nio.ByteBuffer getB()
public void setB(java.nio.ByteBuffer b)
b - Binary attributes are sequences of unsigned bytes.public AttributeValue withB(java.nio.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 java.util.List<java.lang.String> getSS()
public void setSS(java.util.Collection<java.lang.String> sS)
sS - A set of strings.public AttributeValue withSS(java.lang.String... sS)
Returns a reference to this object so that method calls can be chained together.
sS - A set of strings.
public AttributeValue withSS(java.util.Collection<java.lang.String> sS)
Returns a reference to this object so that method calls can be chained together.
sS - A set of strings.
public java.util.List<java.lang.String> getNS()
public void setNS(java.util.Collection<java.lang.String> nS)
nS - A set of numbers.public AttributeValue withNS(java.lang.String... nS)
Returns a reference to this object so that method calls can be chained together.
nS - A set of numbers.
public AttributeValue withNS(java.util.Collection<java.lang.String> nS)
Returns a reference to this object so that method calls can be chained together.
nS - A set of numbers.
public java.util.List<java.nio.ByteBuffer> getBS()
public void setBS(java.util.Collection<java.nio.ByteBuffer> bS)
bS - A set of binary attributes.public AttributeValue withBS(java.nio.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(java.util.Collection<java.nio.ByteBuffer> bS)
Returns a reference to this object so that method calls can be chained together.
bS - A set of binary attributes.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||