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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDocumentVersionRequest.BuilderauthenticationToken(String authenticationToken)Amazon WorkDocs authentication token.GetDocumentVersionRequest.BuilderdocumentId(String documentId)The ID of the document.GetDocumentVersionRequest.Builderfields(String fields)A comma-separated list of values.GetDocumentVersionRequest.BuilderincludeCustomMetadata(Boolean includeCustomMetadata)Set this to TRUE to include custom metadata in the response.GetDocumentVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetDocumentVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetDocumentVersionRequest.BuilderversionId(String versionId)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 Detail
-
authenticationToken
GetDocumentVersionRequest.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
GetDocumentVersionRequest.Builder documentId(String 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
GetDocumentVersionRequest.Builder versionId(String 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
GetDocumentVersionRequest.Builder fields(String 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
GetDocumentVersionRequest.Builder includeCustomMetadata(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetDocumentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-