@Generated(value="software.amazon.awssdk:codegen") public final class Document extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Document.Builder,Document>
The document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Document.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Document.Builder |
builder() |
ContentReference |
contentReference()
A reference to the content resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DocumentText |
excerpt()
The excerpt from the document.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Document.Builder> |
serializableBuilderClass() |
DocumentText |
title()
The title of the document.
|
Document.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ContentReference contentReference()
A reference to the content resource.
public final DocumentText excerpt()
The excerpt from the document.
public final DocumentText title()
The title of the document.
public Document.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Document.Builder,Document>public static Document.Builder builder()
public static Class<? extends Document.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.