@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteLabelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteLabelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteLabelsRequest |
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 request removal of all labels from the specified resource.
|
List<String> |
getLabels()
List of labels to delete from the resource.
|
String |
getResourceId()
The ID of the resource.
|
int |
hashCode() |
Boolean |
isDeleteAll()
Flag to request removal of all labels from the specified resource.
|
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDeleteAll(Boolean deleteAll)
Flag to request removal of all labels from the specified resource.
|
void |
setLabels(Collection<String> labels)
List of labels to delete from the resource.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteLabelsRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
DeleteLabelsRequest |
withDeleteAll(Boolean deleteAll)
Flag to request removal of all labels from the specified resource.
|
DeleteLabelsRequest |
withLabels(Collection<String> labels)
List of labels to delete from the resource.
|
DeleteLabelsRequest |
withLabels(String... labels)
List of labels to delete from the resource.
|
DeleteLabelsRequest |
withResourceId(String resourceId)
The ID of the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public DeleteLabelsRequest withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.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 DeleteLabelsRequest 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 List<String> getLabels()
List of labels to delete from the resource.
public void setLabels(Collection<String> labels)
List of labels to delete from the resource.
labels - List of labels to delete from the resource.public DeleteLabelsRequest withLabels(String... labels)
List of labels to delete from the resource.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection) or withLabels(java.util.Collection) if you want to override the
existing values.
labels - List of labels to delete from the resource.public DeleteLabelsRequest withLabels(Collection<String> labels)
List of labels to delete from the resource.
labels - List of labels to delete from the resource.public void setDeleteAll(Boolean deleteAll)
Flag to request removal of all labels from the specified resource.
deleteAll - Flag to request removal of all labels from the specified resource.public Boolean getDeleteAll()
Flag to request removal of all labels from the specified resource.
public DeleteLabelsRequest withDeleteAll(Boolean deleteAll)
Flag to request removal of all labels from the specified resource.
deleteAll - Flag to request removal of all labels from the specified resource.public Boolean isDeleteAll()
Flag to request removal of all labels from the specified resource.
public String toString()
toString in class ObjectObject.toString()public DeleteLabelsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.