org.jclouds.openstack.swift.v1.domain
Class AccountMetadata

java.lang.Object
  extended by org.jclouds.openstack.swift.v1.domain.AccountMetadata

public class AccountMetadata
extends Object

Author:
Adrian Cole
See Also:
api doc

Nested Class Summary
static class AccountMetadata.Builder
           
 
Field Summary
protected  long bytesUsed
           
protected  int containerCount
           
 
Constructor Summary
protected AccountMetadata(int containerCount, long bytesUsed)
           
 
Method Summary
static AccountMetadata.Builder builder()
           
 boolean equals(Object object)
           
 long getBytesUsed()
           
 int getContainerCount()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 AccountMetadata.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

containerCount

protected int containerCount

bytesUsed

protected long bytesUsed
Constructor Detail

AccountMetadata

@ConstructorProperties(value={"containerCount","bytesUsed"})
protected AccountMetadata(int containerCount,
                                                     long bytesUsed)
Method Detail

builder

public static AccountMetadata.Builder builder()

toBuilder

public AccountMetadata.Builder toBuilder()

getContainerCount

public int getContainerCount()
Returns:
the number of containers in OpenStack Object Storage for the account

getBytesUsed

public long getBytesUsed()
Returns:
the total bytes stored in OpenStack Object Storage for the account

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()


Copyright © 2009-2012 jclouds. All Rights Reserved.