Class Quota.QuotaBuilder
java.lang.Object
com.amilesend.onedrive.resource.drive.Quota.QuotaBuilder
- Enclosing class:
Quota
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deleted
(long deleted) Storage space used by deleted items (recycle bin) in bytes.fileCount
(long fileCount) The total number of files (not applicable to personal OneDrive accounts).remaining
(long remaining) Remaining storage space in bytes.The storage space state.toString()
total
(long total) Total storage space in bytes.used
(long used) Used storage space in bytes.
-
Method Details
-
total
Total storage space in bytes.- Returns:
this
.
-
used
Used storage space in bytes.- Returns:
this
.
-
remaining
Remaining storage space in bytes.- Returns:
this
.
-
deleted
Storage space used by deleted items (recycle bin) in bytes.- Returns:
this
.
-
state
The storage space state. Valid values include:- normal
- nearing
- critical
- exceeded
- Returns:
this
.
-
fileCount
The total number of files (not applicable to personal OneDrive accounts).- Returns:
this
.
-
build
-
toString
-