@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()
When set to
TRUE, deletes the specified version and all prior versions of a document. |
String |
documentId()
The ID of a document.
|
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 version ID of a document.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String authenticationToken()
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
public final String documentId()
The ID of a document.
public final String versionId()
The version ID of a document.
public final Boolean deletePriorVersions()
When set to TRUE, deletes the specified version and all prior versions of a document.
TRUE, deletes the specified version and all prior versions of a document.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 © 2022. All rights reserved.