Interface GetDocumentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetDocumentRequest.Builder,
,GetDocumentRequest> SdkBuilder<GetDocumentRequest.Builder,
,GetDocumentRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
GetDocumentRequest
public static interface GetDocumentRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<GetDocumentRequest.Builder,GetDocumentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.documentId
(String documentId) The ID of the document.includeCustomMetadata
(Boolean includeCustomMetadata) Set this toTRUE
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.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.
-
includeCustomMetadata
Set this to
TRUE
to include custom metadata in the response.- Parameters:
includeCustomMetadata
- Set this toTRUE
to include custom metadata in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetDocumentRequest.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
GetDocumentRequest.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.
-