Class Document
- java.lang.Object
-
- software.amazon.awssdk.services.wisdom.model.Document
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Document.Builder,Document>
@Generated("software.amazon.awssdk:codegen") public final class Document extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Document.Builder,Document>
The document.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocument.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Document.Builderbuilder()ContentReferencecontentReference()A reference to the content resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DocumentTextexcerpt()The excerpt from the document.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Document.Builder>serializableBuilderClass()DocumentTexttitle()The title of the document.Document.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
contentReference
public final ContentReference contentReference()
A reference to the content resource.
- Returns:
- A reference to the content resource.
-
excerpt
public final DocumentText excerpt()
The excerpt from the document.
- Returns:
- The excerpt from the document.
-
title
public final DocumentText title()
The title of the document.
- Returns:
- The title of the document.
-
toBuilder
public Document.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Document.Builder,Document>
-
builder
public static Document.Builder builder()
-
serializableBuilderClass
public static Class<? extends Document.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-