@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteCustomMetadataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteCustomMetadataRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteCustomMetadataRequest |
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.
|
Boolean |
getDeleteAll()
Flag to indicate removal of all custom metadata properties from the specified resource.
|
List<String> |
getKeys()
List of properties to remove.
|
String |
getResourceId()
The ID of the resource, either a document or folder.
|
String |
getVersionId()
The ID of the version, if the custom metadata is being deleted from a document version.
|
int |
hashCode() |
Boolean |
isDeleteAll()
Flag to indicate removal of all custom metadata properties from the specified resource.
|
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDeleteAll(Boolean deleteAll)
Flag to indicate removal of all custom metadata properties from the specified resource.
|
void |
setKeys(Collection<String> keys)
List of properties to remove.
|
void |
setResourceId(String resourceId)
The ID of the resource, either a document or folder.
|
void |
setVersionId(String versionId)
The ID of the version, if the custom metadata is being deleted from a document version.
|
String |
toString()
Returns a string representation of this object.
|
DeleteCustomMetadataRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
DeleteCustomMetadataRequest |
withDeleteAll(Boolean deleteAll)
Flag to indicate removal of all custom metadata properties from the specified resource.
|
DeleteCustomMetadataRequest |
withKeys(Collection<String> keys)
List of properties to remove.
|
DeleteCustomMetadataRequest |
withKeys(String... keys)
List of properties to remove.
|
DeleteCustomMetadataRequest |
withResourceId(String resourceId)
The ID of the resource, either a document or folder.
|
DeleteCustomMetadataRequest |
withVersionId(String versionId)
The ID of the version, if the custom metadata is being deleted from 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, withSdkRequestTimeout
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public String getAuthenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public DeleteCustomMetadataRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator
credentials to access the API.public void setResourceId(String resourceId)
The ID of the resource, either a document or folder.
resourceId
- The ID of the resource, either a document or folder.public String getResourceId()
The ID of the resource, either a document or folder.
public DeleteCustomMetadataRequest withResourceId(String resourceId)
The ID of the resource, either a document or folder.
resourceId
- The ID of the resource, either a document or folder.public void setVersionId(String versionId)
The ID of the version, if the custom metadata is being deleted from a document version.
versionId
- The ID of the version, if the custom metadata is being deleted from a document version.public String getVersionId()
The ID of the version, if the custom metadata is being deleted from a document version.
public DeleteCustomMetadataRequest withVersionId(String versionId)
The ID of the version, if the custom metadata is being deleted from a document version.
versionId
- The ID of the version, if the custom metadata is being deleted from a document version.public List<String> getKeys()
List of properties to remove.
public void setKeys(Collection<String> keys)
List of properties to remove.
keys
- List of properties to remove.public DeleteCustomMetadataRequest withKeys(String... keys)
List of properties to remove.
NOTE: This method appends the values to the existing list (if any). Use
setKeys(java.util.Collection)
or withKeys(java.util.Collection)
if you want to override the
existing values.
keys
- List of properties to remove.public DeleteCustomMetadataRequest withKeys(Collection<String> keys)
List of properties to remove.
keys
- List of properties to remove.public void setDeleteAll(Boolean deleteAll)
Flag to indicate removal of all custom metadata properties from the specified resource.
deleteAll
- Flag to indicate removal of all custom metadata properties from the specified resource.public Boolean getDeleteAll()
Flag to indicate removal of all custom metadata properties from the specified resource.
public DeleteCustomMetadataRequest withDeleteAll(Boolean deleteAll)
Flag to indicate removal of all custom metadata properties from the specified resource.
deleteAll
- Flag to indicate removal of all custom metadata properties from the specified resource.public Boolean isDeleteAll()
Flag to indicate removal of all custom metadata properties from the specified resource.
public String toString()
toString
in class Object
Object.toString()
public DeleteCustomMetadataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()