Class BaseItem.BaseItemBuilder<C extends BaseItem,B extends BaseItem.BaseItemBuilder<C,B>>
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
- Direct Known Subclasses:
Drive.DriveBuilder
,DriveItem.DriveItemBuilder
,List.ListBuilder
,ListItem.ListItemBuilder
,Site.SiteBuilder
- Enclosing class:
BaseItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
createdBy
(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.toString()
URL for the resource shown in a browser.
-
Constructor Details
-
BaseItemBuilder
public BaseItemBuilder()
-
-
Method Details
-
id
The unique identifier for the item.- Returns:
this
.
-
createdBy
The source identity that created the item.- Returns:
this
.
-
createdDateTime
Describes when the item was created.- Returns:
this
.
-
eTag
Associated ETag for the item.- Returns:
this
.
-
lastModifiedBy
The identity that last modified the item.- Returns:
this
.
-
lastModifiedDateTime
Describes when the item was last modified.- Returns:
this
.
-
webUrl
URL for the resource shown in a browser.- Returns:
this
.
-
description
Description of the item.- Returns:
this
.
-
name
The name of the item.- Returns:
this
.
-
parentReference
Describes the parent information.- Returns:
this
.
-
build
-
toString
-