@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeValue extends Object implements Serializable, Cloneable, StructuredPojo
An attribute value.
Constructor and Description |
---|
AttributeValue() |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
clone() |
boolean |
equals(Object obj) |
String |
getB()
A binary value.
|
List<String> |
getBS()
A list of binary values.
|
String |
getN()
A number.
|
List<String> |
getNS()
A list of numbers.
|
String |
getS()
A string.
|
List<String> |
getSS()
A list of strings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setB(String b)
A binary value.
|
void |
setBS(Collection<String> bS)
A list of binary values.
|
void |
setN(String n)
A number.
|
void |
setNS(Collection<String> nS)
A list of numbers.
|
void |
setS(String s)
A string.
|
void |
setSS(Collection<String> sS)
A list of strings.
|
String |
toString()
Returns a string representation of this object.
|
AttributeValue |
withB(String b)
A binary value.
|
AttributeValue |
withBS(Collection<String> bS)
A list of binary values.
|
AttributeValue |
withBS(String... bS)
A list of binary values.
|
AttributeValue |
withN(String n)
A number.
|
AttributeValue |
withNS(Collection<String> nS)
A list of numbers.
|
AttributeValue |
withNS(String... nS)
A list of numbers.
|
AttributeValue |
withS(String s)
A string.
|
AttributeValue |
withSS(Collection<String> sS)
A list of strings.
|
AttributeValue |
withSS(String... sS)
A list of strings.
|
public void setS(String s)
A string.
s
- A string.public String getS()
A string.
public AttributeValue withS(String s)
A string.
s
- A string.public void setN(String n)
A number.
n
- A number.public String getN()
A number.
public AttributeValue withN(String n)
A number.
n
- A number.public void setB(String b)
A binary value.
b
- A binary value.public String getB()
A binary value.
public AttributeValue withB(String b)
A binary value.
b
- A binary value.public void setSS(Collection<String> sS)
A list of strings.
sS
- A list of strings.public AttributeValue withSS(String... sS)
A list of strings.
NOTE: This method appends the values to the existing list (if any). Use
setSS(java.util.Collection)
or withSS(java.util.Collection)
if you want to override the
existing values.
sS
- A list of strings.public AttributeValue withSS(Collection<String> sS)
A list of strings.
sS
- A list of strings.public void setNS(Collection<String> nS)
A list of numbers.
nS
- A list of numbers.public AttributeValue withNS(String... nS)
A list of numbers.
NOTE: This method appends the values to the existing list (if any). Use
setNS(java.util.Collection)
or withNS(java.util.Collection)
if you want to override the
existing values.
nS
- A list of numbers.public AttributeValue withNS(Collection<String> nS)
A list of numbers.
nS
- A list of numbers.public void setBS(Collection<String> bS)
A list of binary values.
bS
- A list of binary values.public AttributeValue withBS(String... bS)
A list of binary values.
NOTE: This method appends the values to the existing list (if any). Use
setBS(java.util.Collection)
or withBS(java.util.Collection)
if you want to override the
existing values.
bS
- A list of binary values.public AttributeValue withBS(Collection<String> bS)
A list of binary values.
bS
- A list of binary values.public String toString()
toString
in class Object
Object.toString()
public AttributeValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.