Class BooleanDocument
java.lang.Object
software.amazon.awssdk.core.document.internal.BooleanDocument
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.document.Document
Document.ListBuilder, Document.MapBuilder -
Field Summary
Fields inherited from interface software.amazon.awssdk.core.document.Document
FALSE_DOCUMENT, NULL_DOCUMENT, TRUE_DOCUMENT -
Constructor Summary
ConstructorsConstructorDescriptionBooleanDocument(boolean value) Create a NewBooleanDocumentwith boolean value as passed in constructor -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(DocumentVisitor<? extends R> visitor) Accepts a visitor with the Document.voidaccept(VoidDocumentVisitor visitor) Accepts a visitor with the Document.booleanGets the boolean value of the Document.asList()asMap()asNumber()asString()booleaninthashCode()booleanIndicates this is a Boolean Document.toString()unwrap()Unwraps the Document Boolean to a Boolean Object.
-
Constructor Details
-
BooleanDocument
public BooleanDocument(boolean value) Create a NewBooleanDocumentwith boolean value as passed in constructor- Parameters:
value- boolean value.
-
-
Method Details
-
unwrap
-
isBoolean
-
asBoolean
-
asString
-
asNumber
-
asMap
-
asList
-
accept
Accepts a visitor with the Document. -
accept
Accepts a visitor with the Document. Calls visitBoolean of visitor. -
toString
-
equals
-
hashCode
-