|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.AttributeValue
public class AttributeValue
Represents the data for an attribute. You can set one, and only one, of the elements.
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()
A Binary data type |
java.util.List<java.nio.ByteBuffer> |
getBS()
A Binary set data type |
java.lang.String |
getN()
A Number data type |
java.util.List<java.lang.String> |
getNS()
Number set data type |
java.lang.String |
getS()
A String data type |
java.util.List<java.lang.String> |
getSS()
A String set data type |
int |
hashCode()
|
void |
setB(java.nio.ByteBuffer b)
A Binary data type |
void |
setBS(java.util.Collection<java.nio.ByteBuffer> bS)
A Binary set data type |
void |
setN(java.lang.String n)
A Number data type |
void |
setNS(java.util.Collection<java.lang.String> nS)
Number set data type |
void |
setS(java.lang.String s)
A String data type |
void |
setSS(java.util.Collection<java.lang.String> sS)
A String set data type |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttributeValue |
withB(java.nio.ByteBuffer b)
A Binary data type |
AttributeValue |
withBS(java.nio.ByteBuffer... bS)
A Binary set data type |
AttributeValue |
withBS(java.util.Collection<java.nio.ByteBuffer> bS)
A Binary set data type |
AttributeValue |
withN(java.lang.String n)
A Number data type |
AttributeValue |
withNS(java.util.Collection<java.lang.String> nS)
Number set data type |
AttributeValue |
withNS(java.lang.String... nS)
Number set data type |
AttributeValue |
withS(java.lang.String s)
A String data type |
AttributeValue |
withSS(java.util.Collection<java.lang.String> sS)
A String set data type |
AttributeValue |
withSS(java.lang.String... sS)
A String set data type |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeValue()
public AttributeValue(java.lang.String s)
s
- A String data typepublic AttributeValue(java.util.List<java.lang.String> sS)
sS
- A String set data typeMethod Detail |
---|
public java.lang.String getS()
public void setS(java.lang.String s)
s
- A String data typepublic AttributeValue withS(java.lang.String s)
Returns a reference to this object so that method calls can be chained together.
s
- A String data type
public java.lang.String getN()
public void setN(java.lang.String n)
n
- A Number data typepublic AttributeValue withN(java.lang.String n)
Returns a reference to this object so that method calls can be chained together.
n
- A Number data type
public java.nio.ByteBuffer getB()
public void setB(java.nio.ByteBuffer b)
b
- A Binary data typepublic AttributeValue withB(java.nio.ByteBuffer b)
Returns a reference to this object so that method calls can be chained together.
b
- A Binary data type
public java.util.List<java.lang.String> getSS()
public void setSS(java.util.Collection<java.lang.String> sS)
sS
- A String set data typepublic AttributeValue withSS(java.lang.String... sS)
Returns a reference to this object so that method calls can be chained together.
sS
- A String set data type
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 String set data type
public java.util.List<java.lang.String> getNS()
public void setNS(java.util.Collection<java.lang.String> nS)
nS
- Number set data typepublic AttributeValue withNS(java.lang.String... nS)
Returns a reference to this object so that method calls can be chained together.
nS
- Number set data type
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
- Number set data type
public java.util.List<java.nio.ByteBuffer> getBS()
public void setBS(java.util.Collection<java.nio.ByteBuffer> bS)
bS
- A Binary set data typepublic AttributeValue withBS(java.nio.ByteBuffer... bS)
Returns a reference to this object so that method calls can be chained together.
bS
- A Binary set data type
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 Binary set data type
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public 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 |