public class CloudAccount extends Object
Constructor and Description |
---|
CloudAccount() |
Modifier and Type | Method and Description |
---|---|
long |
getBytesUsed()
Returns bytes used by the account.
|
long |
getContainerCount()
Returns container count in the account.
|
Date |
getLastModifiedDate()
Returns last modified date of the account.
|
AccountMetadata |
getMetadata()
Returns meta data of the account.
|
String |
getName()
Returns account name (in serviceName-identitydomainName format).
|
long |
getObjectCount()
Returns object count in the account.
|
void |
setBytesUsed(long bytesUsed)
For internal use only.
|
void |
setContainerCount(long containerCount)
For internal use only.
|
void |
setLastModifiedDate(Date lastModifiedDate)
For internal use only.
|
void |
setMetadata(AccountMetadata metadata)
For internal use only.
|
void |
setName(String name)
For internal use only.
|
void |
setObjectCount(long objectCount)
For internal use only.
|
String |
toString() |
public String getName()
public void setName(String name)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the account name.
name
- account namepublic long getContainerCount()
public void setContainerCount(long containerCount)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the container count in the account.
containerCount
- container count in the accountpublic long getObjectCount()
public void setObjectCount(long objectCount)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the object count in the account.
objectCount
- object count in the accountpublic long getBytesUsed()
public void setBytesUsed(long bytesUsed)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the bytes used by the account.
bytesUsed
- bytes used by the accountpublic Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the last modified date of the account.
lastModifiedDate
- last modified date of the accountpublic AccountMetadata getMetadata()
public void setMetadata(AccountMetadata metadata)
This will *not* update the object in the cloud storage. Not to be used by external code. Sets the meta data of the account.
metadata
- meta data of the account