@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateCustomMetadataRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateCustomMetadataRequest |
addCustomMetadataEntry(String key,
String value) |
CreateCustomMetadataRequest |
clearCustomMetadataEntries()
Removes all the entries added into CustomMetadata.
|
CreateCustomMetadataRequest |
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.
|
Map<String,String> |
getCustomMetadata()
Custom metadata in the form of name-value pairs.
|
String |
getResourceId()
The ID of the resource.
|
String |
getVersionId()
The ID of the version, if the custom metadata is being added to a document version.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setCustomMetadata(Map<String,String> customMetadata)
Custom metadata in the form of name-value pairs.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setVersionId(String versionId)
The ID of the version, if the custom metadata is being added to a document version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCustomMetadataRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
CreateCustomMetadataRequest |
withCustomMetadata(Map<String,String> customMetadata)
Custom metadata in the form of name-value pairs.
|
CreateCustomMetadataRequest |
withResourceId(String resourceId)
The ID of the resource.
|
CreateCustomMetadataRequest |
withVersionId(String versionId)
The ID of the version, if the custom metadata is being added to a document version.
|
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. 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 CreateCustomMetadataRequest 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 setResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public CreateCustomMetadataRequest withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public void setVersionId(String versionId)
The ID of the version, if the custom metadata is being added to a document version.
versionId - The ID of the version, if the custom metadata is being added to a document version.public String getVersionId()
The ID of the version, if the custom metadata is being added to a document version.
public CreateCustomMetadataRequest withVersionId(String versionId)
The ID of the version, if the custom metadata is being added to a document version.
versionId - The ID of the version, if the custom metadata is being added to a document version.public Map<String,String> getCustomMetadata()
Custom metadata in the form of name-value pairs.
public void setCustomMetadata(Map<String,String> customMetadata)
Custom metadata in the form of name-value pairs.
customMetadata - Custom metadata in the form of name-value pairs.public CreateCustomMetadataRequest withCustomMetadata(Map<String,String> customMetadata)
Custom metadata in the form of name-value pairs.
customMetadata - Custom metadata in the form of name-value pairs.public CreateCustomMetadataRequest addCustomMetadataEntry(String key, String value)
public CreateCustomMetadataRequest clearCustomMetadataEntries()
public String toString()
toString in class ObjectObject.toString()public CreateCustomMetadataRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.