@Generated(value="software.amazon.awssdk:codegen") public final class ResponseItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseItem.Builder,ResponseItem>
List of Documents, Folders, Comments, and Document Versions matching the query.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResponseItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResponseItem.Builder |
builder() |
CommentMetadata |
commentMetadata()
The comment that matches the query.
|
DocumentMetadata |
documentMetadata()
The document that matches the query.
|
DocumentVersionMetadata |
documentVersionMetadata()
The document version that matches the metadata.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FolderMetadata |
folderMetadata()
The folder that matches the query.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResponseItemType |
resourceType()
The type of item being returned.
|
String |
resourceTypeAsString()
The type of item being returned.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseItem.Builder> |
serializableBuilderClass() |
ResponseItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
webUrl()
The webUrl of the item being returned.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseItemType resourceType()
The type of item being returned.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResponseItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResponseItemTypepublic final String resourceTypeAsString()
The type of item being returned.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResponseItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResponseItemTypepublic final String webUrl()
The webUrl of the item being returned.
public final DocumentMetadata documentMetadata()
The document that matches the query.
public final FolderMetadata folderMetadata()
The folder that matches the query.
public final CommentMetadata commentMetadata()
The comment that matches the query.
public final DocumentVersionMetadata documentVersionMetadata()
The document version that matches the metadata.
public ResponseItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseItem.Builder,ResponseItem>public static ResponseItem.Builder builder()
public static Class<? extends ResponseItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.