public class BucketStorageInfo extends HeaderResponse
| Constructor and Description |
|---|
BucketStorageInfo() |
| Modifier and Type | Method and Description |
|---|---|
long |
getObjectNumber()
Obtain the number of objects in the bucket.
|
long |
getSize()
Obtain the bucket quota (in bytes).
|
void |
setObjectNumber(long objectNumber)
Set the number of objects in the bucket.
|
void |
setSize(long storageSize)
Set the bucket size (in bytes).
|
String |
toString() |
getRequestId, getResponseHeaders, getStatusCodepublic long getSize()
public void setSize(long storageSize)
storageSize - Bucket sizepublic long getObjectNumber()
public void setObjectNumber(long objectNumber)
objectNumber - Number of objects in the bucketpublic String toString()
toString in class HeaderResponseCopyright © 2019. All rights reserved.