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 C
build()
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, webUrl
-
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:
build
in classBaseItem.BaseItemBuilder<C extends List, B extends List.ListBuilder<C,
B>>
-
toString
- Overrides:
toString
in classBaseItem.BaseItemBuilder<C extends List, B extends List.ListBuilder<C,
B>>
-