public static class AlphaGetMetadataArg.Builder extends GetMetadataArg.Builder
AlphaGetMetadataArg.| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
includePropertyTemplates |
includeDeleted, includeHasExplicitSharedMembers, includeMediaInfo, path| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String path) |
| Modifier and Type | Method and Description |
|---|---|
AlphaGetMetadataArg |
build()
Builds an instance of
AlphaGetMetadataArg configured with
this builder's values |
AlphaGetMetadataArg.Builder |
withIncludeDeleted(Boolean includeDeleted)
Set value for optional field.
|
AlphaGetMetadataArg.Builder |
withIncludeHasExplicitSharedMembers(Boolean includeHasExplicitSharedMembers)
Set value for optional field.
|
AlphaGetMetadataArg.Builder |
withIncludeMediaInfo(Boolean includeMediaInfo)
Set value for optional field.
|
AlphaGetMetadataArg.Builder |
withIncludePropertyTemplates(List<String> includePropertyTemplates)
Set value for optional field.
|
protected Builder(String path)
public AlphaGetMetadataArg.Builder withIncludePropertyTemplates(List<String> includePropertyTemplates)
includePropertyTemplates - If true, FileMetadata.getPropertyGroups() is set for files with custom
properties. Must not contain a null item.IllegalArgumentException - If any argument does not meet its
preconditions.public AlphaGetMetadataArg.Builder withIncludeMediaInfo(Boolean includeMediaInfo)
If left unset or set to null, defaults to false.
withIncludeMediaInfo in class GetMetadataArg.BuilderincludeMediaInfo - If true, FileMetadata.getMediaInfo()
is set for photo and video. Defaults to false when set to
null.public AlphaGetMetadataArg.Builder withIncludeDeleted(Boolean includeDeleted)
If left unset or set to null, defaults to false.
withIncludeDeleted in class GetMetadataArg.BuilderincludeDeleted - If true, DeletedMetadata will be
returned for deleted file or folder, otherwise LookupError.NOT_FOUND will be returned. Defaults to false when set to null.public AlphaGetMetadataArg.Builder withIncludeHasExplicitSharedMembers(Boolean includeHasExplicitSharedMembers)
If left unset or set to null, defaults to false.
withIncludeHasExplicitSharedMembers in class GetMetadataArg.BuilderincludeHasExplicitSharedMembers - If true, the results will
include a flag for each file indicating whether or not that file
has any explicit members. Defaults to false when set to
null.public AlphaGetMetadataArg build()
AlphaGetMetadataArg configured with
this builder's valuesbuild in class GetMetadataArg.BuilderAlphaGetMetadataArg