@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLabelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLabelsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLabelsRequest |
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.
|
List<String> |
getLabels()
List of labels to add to the resource.
|
String |
getResourceId()
The ID of the resource.
|
int |
hashCode() |
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setLabels(Collection<String> labels)
List of labels to add to 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.
|
CreateLabelsRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
CreateLabelsRequest |
withLabels(Collection<String> labels)
List of labels to add to the resource.
|
CreateLabelsRequest |
withLabels(String... labels)
List of labels to add to the resource.
|
CreateLabelsRequest |
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, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateLabelsRequest withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public List<String> getLabels()
List of labels to add to the resource.
public void setLabels(Collection<String> labels)
List of labels to add to the resource.
labels
- List of labels to add to the resource.public CreateLabelsRequest withLabels(String... labels)
List of labels to add to 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 add to the resource.public CreateLabelsRequest withLabels(Collection<String> labels)
List of labels to add to the resource.
labels
- List of labels to add to 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 CreateLabelsRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.