Interface GetDocumentVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDocumentVersionResponse.Builder,GetDocumentVersionResponse>,SdkBuilder<GetDocumentVersionResponse.Builder,GetDocumentVersionResponse>,SdkPojo,SdkResponse.Builder,WorkDocsResponse.Builder
- Enclosing class:
- GetDocumentVersionResponse
public static interface GetDocumentVersionResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentVersionResponse.Builder,GetDocumentVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDocumentVersionResponse.BuildercustomMetadata(Map<String,String> customMetadata)The custom metadata on the document version.default GetDocumentVersionResponse.Buildermetadata(Consumer<DocumentVersionMetadata.Builder> metadata)The version metadata.GetDocumentVersionResponse.Buildermetadata(DocumentVersionMetadata metadata)The version metadata.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
metadata
GetDocumentVersionResponse.Builder metadata(DocumentVersionMetadata metadata)
The version metadata.
- Parameters:
metadata- The version metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default 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 onDocumentVersionMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadata(DocumentVersionMetadata)
-
customMetadata
GetDocumentVersionResponse.Builder customMetadata(Map<String,String> customMetadata)
The 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.
-
-