public class DynamoDBBool extends DynamoDBEntry
Modifier and Type | Field and Description |
---|---|
static DynamoDBBool |
FALSE
Constant DynamoDBBool for the false value
|
static DynamoDBBool |
TRUE
Constant DynamoDBBool for the true value
|
Constructor and Description |
---|
DynamoDBBool(boolean boolValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
asBoolean()
Explicitly convert DynamoDBEntry to Boolean
|
AttributeValue |
convertToAttributeValue()
Converts a
DynamoDBEntry to AttributeValue |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
asByteBuffer, asDocument, asDouble, asDynamoDBList, asFloat, asInt, asLong, asNumber, asPrimitive, asPrimitiveList, asString, convertToAttributeUpdateValue, toString
public static final DynamoDBBool TRUE
public static final DynamoDBBool FALSE
public DynamoDBBool(boolean boolValue)
boolValue
- the boolean value.public AttributeValue convertToAttributeValue()
DynamoDBEntry
DynamoDBEntry
to AttributeValue
convertToAttributeValue
in class DynamoDBEntry
AttributeValue
.public java.lang.Boolean asBoolean()
DynamoDBEntry
asBoolean
in class DynamoDBEntry
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.