org.jclouds.glesys.domain
Class Archive

java.lang.Object
  extended by org.jclouds.glesys.domain.Archive

public class Archive
extends Object

Information about an archive

See Also:

Nested Class Summary
static class Archive.Builder<T extends Archive.Builder<T>>
           
 
Constructor Summary
protected Archive(String username, String totalSize, String freeSize, GleSYSBoolean locked)
           
 
Method Summary
static Archive.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getFreeSize()
           
 String getTotalSize()
           
 String getUsername()
           
 int hashCode()
           
 boolean isLocked()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Archive.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Archive

@ConstructorProperties(value={"username","sizetotal","sizefree","locked"})
protected Archive(String username,
                                             String totalSize,
                                             String freeSize,
                                             GleSYSBoolean locked)
Method Detail

builder

public static Archive.Builder<?> builder()

toBuilder

public Archive.Builder<?> toBuilder()

getUsername

public String getUsername()
Returns:
the name (username) of the archive

getTotalSize

public String getTotalSize()
Returns:
the total size of the archive, ex. "10 GB"

getFreeSize

public String getFreeSize()
Returns:
the free space left of the archive

isLocked

public boolean isLocked()
Returns:
true if the archive is locked

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

string

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.