CopyableBuilder<CreateLabelsRequest.Builder,CreateLabelsRequest>
, SdkBuilder<CreateLabelsRequest.Builder,CreateLabelsRequest>
public static interface CreateLabelsRequest.Builder extends CopyableBuilder<CreateLabelsRequest.Builder,CreateLabelsRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateLabelsRequest.Builder |
authenticationToken(String authenticationToken) |
Amazon WorkDocs authentication token.
|
CreateLabelsRequest.Builder |
labels(String... labels) |
List of labels to add to the resource.
|
CreateLabelsRequest.Builder |
labels(Collection<String> labels) |
List of labels to add to the resource.
|
CreateLabelsRequest.Builder |
resourceId(String resourceId) |
The ID of the resource.
|
copy
apply, build
CreateLabelsRequest.Builder resourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.CreateLabelsRequest.Builder labels(Collection<String> labels)
List of labels to add to the resource.
labels
- List of labels to add to the resource.CreateLabelsRequest.Builder labels(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.CreateLabelsRequest.Builder authenticationToken(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.