Interface DeleteDocumentVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDocumentVersionRequest.Builder,DeleteDocumentVersionRequest>,SdkBuilder<DeleteDocumentVersionRequest.Builder,DeleteDocumentVersionRequest>,SdkPojo,SdkRequest.Builder,WorkDocsRequest.Builder
- Enclosing class:
- DeleteDocumentVersionRequest
public static interface DeleteDocumentVersionRequest.Builder extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<DeleteDocumentVersionRequest.Builder,DeleteDocumentVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteDocumentVersionRequest.BuilderauthenticationToken(String authenticationToken)Amazon WorkDocs authentication token.DeleteDocumentVersionRequest.BuilderdeletePriorVersions(Boolean deletePriorVersions)Deletes all versions of a document prior to the current version.DeleteDocumentVersionRequest.BuilderdocumentId(String documentId)The ID of the document associated with the version being deleted.DeleteDocumentVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteDocumentVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteDocumentVersionRequest.BuilderversionId(String versionId)The ID of the version being deleted.-
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 Detail
-
authenticationToken
DeleteDocumentVersionRequest.Builder authenticationToken(String 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
DeleteDocumentVersionRequest.Builder documentId(String documentId)
The ID of the document associated with the version being deleted.
- Parameters:
documentId- The ID of the document associated with the version being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
DeleteDocumentVersionRequest.Builder versionId(String versionId)
The ID of the version being deleted.
- Parameters:
versionId- The ID of the version being deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletePriorVersions
DeleteDocumentVersionRequest.Builder deletePriorVersions(Boolean deletePriorVersions)
Deletes all versions of a document prior to the current version.
- Parameters:
deletePriorVersions- Deletes all versions of a document prior to the current version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteDocumentVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteDocumentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-