Interface InitiateDocumentVersionUploadRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<InitiateDocumentVersionUploadRequest.Builder,
,InitiateDocumentVersionUploadRequest> SdkBuilder<InitiateDocumentVersionUploadRequest.Builder,
,InitiateDocumentVersionUploadRequest> SdkPojo
,SdkRequest.Builder
,WorkDocsRequest.Builder
- Enclosing class:
InitiateDocumentVersionUploadRequest
public static interface InitiateDocumentVersionUploadRequest.Builder
extends WorkDocsRequest.Builder, SdkPojo, CopyableBuilder<InitiateDocumentVersionUploadRequest.Builder,InitiateDocumentVersionUploadRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationToken
(String authenticationToken) Amazon WorkDocs authentication token.contentCreatedTimestamp
(Instant contentCreatedTimestamp) The timestamp when the content of the document was originally created.contentModifiedTimestamp
(Instant contentModifiedTimestamp) The timestamp when the content of the document was modified.contentType
(String contentType) The content type of the document.documentSizeInBytes
(Long documentSizeInBytes) The size of the document, in bytes.The ID of the document.The name of the document.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parentFolderId
(String parentFolderId) The ID of the parent folder.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.
-
id
The ID of the document.
- Parameters:
id
- The ID of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the document.
- Parameters:
name
- The name of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentCreatedTimestamp
InitiateDocumentVersionUploadRequest.Builder contentCreatedTimestamp(Instant contentCreatedTimestamp) The timestamp when the content of the document was originally created.
- Parameters:
contentCreatedTimestamp
- The timestamp when the content of the document was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentModifiedTimestamp
InitiateDocumentVersionUploadRequest.Builder contentModifiedTimestamp(Instant contentModifiedTimestamp) The timestamp when the content of the document was modified.
- Parameters:
contentModifiedTimestamp
- The timestamp when the content of the document was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the document.
- Parameters:
contentType
- The content type of the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentSizeInBytes
The size of the document, in bytes.
- Parameters:
documentSizeInBytes
- The size of the document, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentFolderId
The ID of the parent folder.
- Parameters:
parentFolderId
- The ID of the parent folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InitiateDocumentVersionUploadRequest.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
InitiateDocumentVersionUploadRequest.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.
-