@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDocumentRequest extends WorkDocsRequest implements ToCopyableBuilder<UpdateDocumentRequest.Builder,UpdateDocumentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDocumentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticationToken()
Amazon WorkDocs authentication token.
|
static UpdateDocumentRequest.Builder |
builder() |
String |
documentId()
The ID of the document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the document.
|
String |
parentFolderId()
The ID of the parent folder.
|
ResourceStateType |
resourceState()
The resource state of the document.
|
String |
resourceStateAsString()
The resource state of the document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDocumentRequest.Builder> |
serializableBuilderClass() |
UpdateDocumentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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.
public final String name()
The name of the document.
public final String parentFolderId()
The ID of the parent folder.
public final ResourceStateType resourceState()
The resource state of the document. Only ACTIVE and RECYCLED are supported.
If the service returns an enum value that is not available in the current SDK version, resourceState
will return ResourceStateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceStateAsString().
ResourceStateTypepublic final String resourceStateAsString()
The resource state of the document. Only ACTIVE and RECYCLED are supported.
If the service returns an enum value that is not available in the current SDK version, resourceState
will return ResourceStateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceStateAsString().
ResourceStateTypepublic UpdateDocumentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDocumentRequest.Builder,UpdateDocumentRequest>toBuilder in class WorkDocsRequestpublic static UpdateDocumentRequest.Builder builder()
public static Class<? extends UpdateDocumentRequest.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.