Interface GetDocumentRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<GetDocumentRequest.Builder,,- GetDocumentRequest> - SdkBuilder<GetDocumentRequest.Builder,,- GetDocumentRequest> - SdkPojo,- SdkRequest.Builder,- WorkDocsRequest.Builder
- Enclosing class:
- GetDocumentRequest
@Mutable
@NotThreadSafe
public static interface GetDocumentRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentRequest.Builder,GetDocumentRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionauthenticationToken(String authenticationToken) Amazon WorkDocs authentication token.documentId(String documentId) The ID of the document.includeCustomMetadata(Boolean includeCustomMetadata) Set this toTRUEto 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builderbuild
- 
Method Details- 
authenticationTokenAmazon 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.
 
- 
documentIdThe 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.
 
- 
includeCustomMetadataSet this to TRUEto include custom metadata in the response.- Parameters:
- includeCustomMetadata- Set this to- TRUEto include custom metadata in the response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationGetDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationGetDocumentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-