Class SpecialDriveItem.SpecialDriveItemBuilder<C extends SpecialDriveItem, B extends SpecialDriveItem.SpecialDriveItemBuilder<C,B> >
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.item.DriveItem.DriveItemBuilder<C,B>
com.amilesend.onedrive.resource.item.SpecialDriveItem.SpecialDriveItemBuilder<C,B>
- Enclosing class:
SpecialDriveItem
public abstract static class SpecialDriveItem.SpecialDriveItemBuilder<C extends SpecialDriveItem, B extends SpecialDriveItem.SpecialDriveItemBuilder<C,B>>
extends DriveItem.DriveItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()specialFolderType(SpecialFolder.Type specialFolderType) The special folder type.toString()Methods inherited from class DriveItem.DriveItemBuilder
_package, audio, conflictBehavior, connection, cTag, deleted, downloadUrl, file, fileSystemInfo, folder, image, location, malware, photo, publication, remoteItem, root, searchResult, shared, sharepointIds, size, sourceUrl, specialFolder, videoModifier and TypeMethodDescriptionIndicates that a drive item is the top level item in a collection of items (read-only).The audio file attributes (read-only).conflictBehavior(String conflictBehavior) Describes how to handle conflicts upon copy/move operations.connection(OneDriveConnection connection) Gets the underlying connection instance.An eTag for the content of the item (read-only).Indicates if an item was deleted (read-only).downloadUrl(String downloadUrl) The URL that can be used to download the file's content (read-only).Indicates if an item is a file (read-only).fileSystemInfo(FileSystemInfo fileSystemInfo) Describes drive (client-side) properties of the local version of a drive item.Describes if a given drive item is a folder resource type (read-only).The image attributes for a file (read-only).location(GeoCoordinates location) The geographic coordinates and elevation of a file (read-only).If defined, malware was detected in the file (read-only).The photo attributes for a drive item file (read-only).publication(PublicationFacet publication) The published status of a drive item or version (read-only).remoteItem(RemoteItem remoteItem) Indicates that a drive item references one that exists in another drive (read-only).If defined, indicates that the item is the top-most folder in the drive (read-only).searchResult(SearchResult searchResult) Indicates that the item is in response to a search query (read-only).Indicates that a drive item has been shared with others (read-only).sharepointIds(SharePointIds sharepointIds) SharePoint resource identifiers for SharePoint and Business account items (read-only).size(long size) The size of the item in bytes (read-only).The source URL for remote uploading of file contents (write-only).specialFolder(SpecialFolder specialFolder) Describes if the item is a special managed folder (read-only).The video file attributes (read-only).Methods inherited from class BaseItem.BaseItemBuilder
createdBy, createdDateTime, description, eTag, id, lastModifiedBy, lastModifiedDateTime, name, parentReference, webUrlModifier and TypeMethodDescriptioncreatedBy(IdentitySet createdBy) The source identity that created the item.createdDateTime(String createdDateTime) Describes when the item was created.description(String description) Description of the item.Associated ETag for the item.The unique identifier for the item.lastModifiedBy(IdentitySet lastModifiedBy) The identity that last modified the item.lastModifiedDateTime(String lastModifiedDateTime) Describes when the item was last modified.The name of the item.parentReference(ItemReference parentReference) Describes the parent information.URL for the resource shown in a browser.
-
Constructor Details
-
SpecialDriveItemBuilder
public SpecialDriveItemBuilder()
-
-
Method Details
-
specialFolderType
The special folder type.- Returns:
this.
-
build
- Specified by:
buildin classDriveItem.DriveItemBuilder<C extends SpecialDriveItem, B extends SpecialDriveItem.SpecialDriveItemBuilder<C,B>>
-
toString
- Overrides:
toStringin classDriveItem.DriveItemBuilder<C extends SpecialDriveItem, B extends SpecialDriveItem.SpecialDriveItemBuilder<C,B>>
-