Class Site.SiteBuilder<C extends Site, B extends Site.SiteBuilder<C,B> >
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.site.Site.SiteBuilder<C,B>
- Enclosing class:
Site
public abstract static class Site.SiteBuilder<C extends Site, B extends Site.SiteBuilder<C,B>>
extends BaseItem.BaseItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()columns(List<ColumnDefinition> columns) The column definitions that are reusable across lists under this site.connection(OneDriveConnection connection) contentTypes(List<ContentType> contentTypes) The content types for the site.displayName(String displayName) The full title for the site.The items contained within this site.If defined, indicates that the item is the top-most folder in the drive (read-only).sharepointIds(SharePointIds sharepointIds) SharePoint resource identifiers for SharePoint and Business account items (read-only).siteCollection(SiteCollection siteCollection) Provides details about the site's collection.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
-
SiteBuilder
public SiteBuilder()
-
-
Method Details
-
displayName
-
root
-
siteCollection
Provides details about the site's collection. Only applies to root sites.- Returns:
this.
-
contentTypes
The content types for the site.- Returns:
this.
-
columns
The column definitions that are reusable across lists under this site.- Returns:
this.
-
items
-
connection
- Returns:
this.
-
build
- Specified by:
buildin classBaseItem.BaseItemBuilder<C extends Site, B extends Site.SiteBuilder<C,B>>
-
toString
- Overrides:
toStringin classBaseItem.BaseItemBuilder<C extends Site, B extends Site.SiteBuilder<C,B>>
-