Interface UpdateDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDocumentRequest.Builder,
,UpdateDocumentRequest> SdkBuilder<UpdateDocumentRequest.Builder,
,UpdateDocumentRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
UpdateDocumentRequest
public static interface UpdateDocumentRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<UpdateDocumentRequest.Builder,UpdateDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.documentId
(String documentId) The ID of the document.The name of the document.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentFolderId
(String parentFolderId) The ID of the parent folder.resourceState
(String resourceState) The resource state of the document.resourceState
(ResourceStateType resourceState) The resource state of the document.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
-
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.
-
documentId
The ID of the document.
- Parameters:
documentId
- The ID of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the document.
- Parameters:
name
- The name of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentFolderId
The ID of the parent folder.
- Parameters:
parentFolderId
- The ID of the parent folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceState
The resource state of the document. Only ACTIVE and RECYCLED are supported.
- Parameters:
resourceState
- The resource state of the document. Only ACTIVE and RECYCLED are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceState
The resource state of the document. Only ACTIVE and RECYCLED are supported.
- Parameters:
resourceState
- The resource state of the document. Only ACTIVE and RECYCLED are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDocumentRequest.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
UpdateDocumentRequest.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.
-