Class List.ListBuilder<C extends List, B extends List.ListBuilder<C,B> >
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem.BaseItemBuilder<C,B>
com.amilesend.onedrive.resource.site.List.ListBuilder<C,B>
- Enclosing class:
List
public abstract static class List.ListBuilder<C extends List, B extends List.ListBuilder<C,B>>
extends BaseItem.BaseItemBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()columns(List<ColumnDefinition> columns) The column definitions that apply to this list.connection(OneDriveConnection connection) The OneDrive API connection.contentTypes(List<ContentType> contentTypes) The content types for this list.displayName(String displayName) The list title.When defined, indicates that this list exists within a document library and can be treated as a drive.Additional list information.The associated site identifier that this list is associated with.Indicates that this is a system-managed list.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
-
ListBuilder
public ListBuilder()
-
-
Method Details
-
system
-
columns
The column definitions that apply to this list.- Returns:
this.
-
contentTypes
The content types for this list.- Returns:
this.
-
drive
-
siteId
-
connection
-
displayName
-
list
-
build
- Specified by:
buildin classBaseItem.BaseItemBuilder<C extends List, B extends List.ListBuilder<C,B>>
-
toString
- Overrides:
toStringin classBaseItem.BaseItemBuilder<C extends List, B extends List.ListBuilder<C,B>>
-