@Generated(value="software.amazon.awssdk:codegen") public final class DeleteDocumentVersionRequest extends WorkDocsRequest implements ToCopyableBuilder<DeleteDocumentVersionRequest.Builder,DeleteDocumentVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteDocumentVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticationToken()
Amazon WorkDocs authentication token.
|
static DeleteDocumentVersionRequest.Builder |
builder() |
Boolean |
deletePriorVersions()
Deletes all versions of a document prior to the current version.
|
String |
documentId()
The ID of the document associated with the version being deleted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteDocumentVersionRequest.Builder> |
serializableBuilderClass() |
DeleteDocumentVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The ID of the version being deleted.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String authenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public final String documentId()
The ID of the document associated with the version being deleted.
public final String versionId()
The ID of the version being deleted.
public final Boolean deletePriorVersions()
Deletes all versions of a document prior to the current version.
public DeleteDocumentVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteDocumentVersionRequest.Builder,DeleteDocumentVersionRequest>toBuilder in class WorkDocsRequestpublic static DeleteDocumentVersionRequest.Builder builder()
public static Class<? extends DeleteDocumentVersionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.