Interface DeleteLabelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteLabelsRequest.Builder,
,DeleteLabelsRequest> SdkBuilder<DeleteLabelsRequest.Builder,
,DeleteLabelsRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
DeleteLabelsRequest
public static interface DeleteLabelsRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<DeleteLabelsRequest.Builder,DeleteLabelsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.Flag to request removal of all labels from the specified resource.List of labels to delete from the resource.labels
(Collection<String> labels) List of labels to delete from the resource.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceId
(String resourceId) The ID of the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
Method Details
-
resourceId
The ID of the resource.
- Parameters:
resourceId
- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationToken
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Parameters:
authenticationToken
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
List of labels to delete from the resource.
- Parameters:
labels
- List of labels to delete from the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
List of labels to delete from the resource.
- Parameters:
labels
- List of labels to delete from the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteAll
Flag to request removal of all labels from the specified resource.
- Parameters:
deleteAll
- Flag to request removal of all labels from the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteLabelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteLabelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-