Interface GetDocumentVersionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetDocumentVersionResponse.Builder,,- GetDocumentVersionResponse> - SdkBuilder<GetDocumentVersionResponse.Builder,,- GetDocumentVersionResponse> - SdkPojo,- SdkResponse.Builder,- WorkDocsResponse.Builder
- Enclosing class:
- GetDocumentVersionResponse
@Mutable
@NotThreadSafe
public static interface GetDocumentVersionResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentVersionResponse.Builder,GetDocumentVersionResponse> 
- 
Method SummaryModifier and TypeMethodDescriptioncustomMetadata(Map<String, String> customMetadata) The custom metadata on the document version.metadata(Consumer<DocumentVersionMetadata.Builder> metadata) The version metadata.metadata(DocumentVersionMetadata metadata) The version metadata.Methods 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.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
metadataThe version metadata. - Parameters:
- metadata- The version metadata.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metadatadefault GetDocumentVersionResponse.Builder metadata(Consumer<DocumentVersionMetadata.Builder> metadata) The version metadata. This is a convenience method that creates an instance of theDocumentVersionMetadata.Builderavoiding the need to create one manually viaDocumentVersionMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(DocumentVersionMetadata).- Parameters:
- metadata- a consumer that will call methods on- DocumentVersionMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
customMetadataThe custom metadata on the document version. - Parameters:
- customMetadata- The custom metadata on the document version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-