|
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.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()
Represents a Binary data type |
java.util.List<java.nio.ByteBuffer> |
getBS()
Represents a Binary set data type |
java.lang.String |
getN()
Represents a Number data type |
java.util.List<java.lang.String> |
getNS()
Represents a Number set data type |
java.lang.String |
getS()
Represents a String data type |
java.util.List<java.lang.String> |
getSS()
Represents a String set data type |
int |
hashCode()
|
void |
setB(java.nio.ByteBuffer b)
Represents a Binary data type |
void |
setBS(java.util.Collection<java.nio.ByteBuffer> bS)
Represents a Binary set data type |
void |
setN(java.lang.String n)
Represents a Number data type |
void |
setNS(java.util.Collection<java.lang.String> nS)
Represents a Number set data type |
void |
setS(java.lang.String s)
Represents a String data type |
void |
setSS(java.util.Collection<java.lang.String> sS)
Represents 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)
Represents a Binary data type |
AttributeValue |
withBS(java.nio.ByteBuffer... bS)
Represents a Binary set data type |
AttributeValue |
withBS(java.util.Collection<java.nio.ByteBuffer> bS)
Represents a Binary set data type |
AttributeValue |
withN(java.lang.String n)
Represents a Number data type |
AttributeValue |
withNS(java.util.Collection<java.lang.String> nS)
Represents a Number set data type |
AttributeValue |
withNS(java.lang.String... nS)
Represents a Number set data type |
AttributeValue |
withS(java.lang.String s)
Represents a String data type |
AttributeValue |
withSS(java.util.Collection<java.lang.String> sS)
Represents a String set data type |
AttributeValue |
withSS(java.lang.String... sS)
Represents 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
- Represents a String data typepublic AttributeValue(java.util.List<java.lang.String> sS)
sS
- Represents a String set data typeMethod Detail |
---|
public java.lang.String getS()
public void setS(java.lang.String s)
s
- Represents 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
- Represents a String data type
public java.lang.String getN()
public void setN(java.lang.String n)
n
- Represents 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
- Represents a Number data type
public java.nio.ByteBuffer getB()
public void setB(java.nio.ByteBuffer b)
b
- Represents 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
- Represents a Binary data type
public java.util.List<java.lang.String> getSS()
public void setSS(java.util.Collection<java.lang.String> sS)
sS
- Represents 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
- Represents 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
- Represents a String set data type
public java.util.List<java.lang.String> getNS()
public void setNS(java.util.Collection<java.lang.String> nS)
nS
- Represents a 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
- Represents a 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
- Represents a Number set data type
public java.util.List<java.nio.ByteBuffer> getBS()
public void setBS(java.util.Collection<java.nio.ByteBuffer> bS)
bS
- Represents 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
- Represents 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
- Represents 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 |