Interface GetDocumentVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetDocumentVersionRequest.Builder,
,GetDocumentVersionRequest> SdkBuilder<GetDocumentVersionRequest.Builder,
,GetDocumentVersionRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
GetDocumentVersionRequest
public static interface GetDocumentVersionRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentVersionRequest.Builder,GetDocumentVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.documentId
(String documentId) The ID of the document.A comma-separated list of values.includeCustomMetadata
(Boolean includeCustomMetadata) Set this to TRUE to include custom metadata in the response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The version ID 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.
-
versionId
The version ID of the document.
- Parameters:
versionId
- The version ID of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.
- Parameters:
fields
- A comma-separated list of values. Specify "SOURCE" to include a URL for the source document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeCustomMetadata
Set this to TRUE to include custom metadata in the response.
- Parameters:
includeCustomMetadata
- Set this to TRUE to include custom metadata in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDocumentVersionRequest.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
GetDocumentVersionRequest.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.
-