Class ResponseItem
- java.lang.Object
-
- software.amazon.awssdk.services.workdocs.model.ResponseItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResponseItem.Builder,ResponseItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResponseItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseItem.Builderbuilder()CommentMetadatacommentMetadata()The comment that matches the query.DocumentMetadatadocumentMetadata()The document that matches the query.DocumentVersionMetadatadocumentVersionMetadata()The document version that matches the metadata.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FolderMetadatafolderMetadata()The folder that matches the query.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResponseItemTyperesourceType()The type of item being returned.StringresourceTypeAsString()The type of item being returned.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResponseItem.Builder>serializableBuilderClass()ResponseItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringwebUrl()The webUrl of the item being returned.-
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
-
resourceType
public 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,
resourceTypewill returnResponseItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of item being returned.
- See Also:
ResponseItemType
-
resourceTypeAsString
public 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,
resourceTypewill returnResponseItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of item being returned.
- See Also:
ResponseItemType
-
webUrl
public final String webUrl()
The webUrl of the item being returned.
- Returns:
- The webUrl of the item being returned.
-
documentMetadata
public final DocumentMetadata documentMetadata()
The document that matches the query.
- Returns:
- The document that matches the query.
-
folderMetadata
public final FolderMetadata folderMetadata()
The folder that matches the query.
- Returns:
- The folder that matches the query.
-
commentMetadata
public final CommentMetadata commentMetadata()
The comment that matches the query.
- Returns:
- The comment that matches the query.
-
documentVersionMetadata
public final DocumentVersionMetadata documentVersionMetadata()
The document version that matches the metadata.
- Returns:
- The document version that matches the metadata.
-
toBuilder
public ResponseItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResponseItem.Builder,ResponseItem>
-
builder
public static ResponseItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResponseItem.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-