@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; useful for testing and debugging.
|
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, withSdkRequestTimeout
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.public String getAuthenticationToken()
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
public UpdateDocumentRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.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. Note that only ACTIVE and RECYCLED are supported.
resourceState
- The resource state of the document. Note that only ACTIVE and RECYCLED are supported.ResourceStateType
public String getResourceState()
The resource state of the document. Note that only ACTIVE and RECYCLED are supported.
ResourceStateType
public UpdateDocumentRequest withResourceState(String resourceState)
The resource state of the document. Note that only ACTIVE and RECYCLED are supported.
resourceState
- The resource state of the document. Note that only ACTIVE and RECYCLED are supported.ResourceStateType
public void setResourceState(ResourceStateType resourceState)
The resource state of the document. Note that only ACTIVE and RECYCLED are supported.
resourceState
- The resource state of the document. Note that only ACTIVE and RECYCLED are supported.ResourceStateType
public UpdateDocumentRequest withResourceState(ResourceStateType resourceState)
The resource state of the document. Note that only ACTIVE and RECYCLED are supported.
resourceState
- The resource state of the document. Note that only ACTIVE and RECYCLED are supported.ResourceStateType
public String toString()
toString
in class Object
Object.toString()
public UpdateDocumentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.