org.jclouds.glesys.domain
Class Archive
java.lang.Object
org.jclouds.glesys.domain.Archive
public class Archive
- extends Object
Information about an archive
- Author:
- Adam Lowe
- See Also:
Archive
@ConstructorProperties(value={"username","sizetotal","sizefree","locked"})
protected Archive(String username,
String totalSize,
String freeSize,
GleSYSBoolean locked)
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-2013 The Apache Software Foundation. All Rights Reserved.