@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDocumentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateDocumentRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateDocumentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
String |
getDocumentId()
The ID of the document.
|
String |
getName()
The name of the document.
|
String |
getParentFolderId()
The ID of the parent folder.
|
String |
getResourceState()
The resource state of the document.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDocumentId(String documentId)
The ID of the document.
|
void |
setName(String name)
The name of the document.
|
void |
setParentFolderId(String parentFolderId)
The ID of the parent folder.
|
void |
setResourceState(ResourceStateType resourceState)
The resource state of the document.
|
void |
setResourceState(String resourceState)
The resource state of the document.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDocumentRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
UpdateDocumentRequest |
withDocumentId(String documentId)
The ID of the document.
|
UpdateDocumentRequest |
withName(String name)
The name of the document.
|
UpdateDocumentRequest |
withParentFolderId(String parentFolderId)
The ID of the parent folder.
|
UpdateDocumentRequest |
withResourceState(ResourceStateType resourceState)
The resource state of the document.
|
UpdateDocumentRequest |
withResourceState(String resourceState)
The resource state of the document.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
public UpdateDocumentRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the
API.public void setDocumentId(String documentId)
The ID of the document.
documentId - The ID of the document.public String getDocumentId()
The ID of the document.
public UpdateDocumentRequest withDocumentId(String documentId)
The ID of the document.
documentId - The ID of the document.public void setName(String name)
The name of the document.
name - The name of the document.public String getName()
The name of the document.
public UpdateDocumentRequest withName(String name)
The name of the document.
name - The name of the document.public void setParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId - The ID of the parent folder.public String getParentFolderId()
The ID of the parent folder.
public UpdateDocumentRequest withParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId - The ID of the parent folder.public void setResourceState(String resourceState)
The resource state of the document. Only ACTIVE and RECYCLED are supported.
resourceState - The resource state of the document. Only ACTIVE and RECYCLED are supported.ResourceStateTypepublic String getResourceState()
The resource state of the document. Only ACTIVE and RECYCLED are supported.
ResourceStateTypepublic UpdateDocumentRequest withResourceState(String resourceState)
The resource state of the document. Only ACTIVE and RECYCLED are supported.
resourceState - The resource state of the document. Only ACTIVE and RECYCLED are supported.ResourceStateTypepublic void setResourceState(ResourceStateType resourceState)
The resource state of the document. Only ACTIVE and RECYCLED are supported.
resourceState - The resource state of the document. Only ACTIVE and RECYCLED are supported.ResourceStateTypepublic UpdateDocumentRequest withResourceState(ResourceStateType resourceState)
The resource state of the document. Only ACTIVE and RECYCLED are supported.
resourceState - The resource state of the document. Only ACTIVE and RECYCLED are supported.ResourceStateTypepublic String toString()
toString in class ObjectObject.toString()public UpdateDocumentRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()