Class BooleanDocument
java.lang.Object
software.amazon.awssdk.core.document.internal.BooleanDocument
- All Implemented Interfaces:
 Serializable,Document
Represents a Boolean Document.
- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.document.Document
Document.ListBuilder, Document.MapBuilder - 
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
Unwraps the Document Boolean to a Boolean Object. - 
isBoolean
public boolean isBoolean()Indicates this is a Boolean Document. - 
asBoolean
public boolean asBoolean()Gets the boolean value of the Document. - 
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
public int hashCode() 
 -