Class DriveItem.DriveItemBuilder<C extends DriveItem, B extends DriveItem.DriveItemBuilder<C,B> >
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.item.DriveItem.DriveItemBuilder<C,B>
- Direct Known Subclasses:
SpecialDriveItem.SpecialDriveItemBuilder
- Enclosing class:
DriveItem
public abstract static class DriveItem.DriveItemBuilder<C extends DriveItem, B extends DriveItem.DriveItemBuilder<C,B>>
extends BaseItem.BaseItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates that a drive item is the top level item in a collection of items (read-only).The audio file attributes (read-only).abstract Cbuild()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).toString()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
-
DriveItemBuilder
public DriveItemBuilder()
-
-
Method Details
-
audio
-
cTag
-
file
-
folder
-
image
-
location
The geographic coordinates and elevation of a file (read-only).- Returns:
this.
-
malware
-
_package
-
photo
-
publication
The published status of a drive item or version (read-only).- Returns:
this.
-
remoteItem
Indicates that a drive item references one that exists in another drive (read-only).- Returns:
this.
-
root
-
searchResult
Indicates that the item is in response to a search query (read-only).- Returns:
this.
-
size
-
specialFolder
Describes if the item is a special managed folder (read-only).- Returns:
this.
-
video
-
downloadUrl
-
connection
Gets the underlying connection instance.- Returns:
this.
-
deleted
-
fileSystemInfo
Describes drive (client-side) properties of the local version of a drive item.- Returns:
this.
-
conflictBehavior
-
sourceUrl
-
build
- Specified by:
buildin classBaseItem.BaseItemBuilder<C extends DriveItem, B extends DriveItem.DriveItemBuilder<C,B>>
-
toString
- Overrides:
toStringin classBaseItem.BaseItemBuilder<C extends DriveItem, B extends DriveItem.DriveItemBuilder<C,B>>
-