Class Drive.DriveBuilder<C extends Drive, B extends Drive.DriveBuilder<C,B> >
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.drive.Drive.DriveBuilder<C,B>
- Enclosing class:
Drive
public abstract static class Drive.DriveBuilder<C extends Drive, B extends Drive.DriveBuilder<C,B>>
extends BaseItem.BaseItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()connection(OneDriveConnection connection) The drive type descriptor.owner(IdentitySet owner) The user account that owns the drive.Drive storage space quota information.sharepointIds(SharePointIds sharepointIds) Identifiers used for SharePoint.Indicates that this is a system-managed drive: Note: Eithernullor defined as empty.toString()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
-
DriveBuilder
public DriveBuilder()
-
-
Method Details
-
driveType
-
owner
-
quota
-
system
-
connection
- Returns:
this.
-
build
- Specified by:
buildin classBaseItem.BaseItemBuilder<C extends Drive, B extends Drive.DriveBuilder<C,B>>
-
toString
- Overrides:
toStringin classBaseItem.BaseItemBuilder<C extends Drive, B extends Drive.DriveBuilder<C,B>>
-