org.jclouds.googlecomputeengine.domain
Class Instance.AttachedDisk

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Instance.AttachedDisk
Direct Known Subclasses:
Instance.PersistentAttachedDisk
Enclosing class:
Instance

public static class Instance.AttachedDisk
extends Object

A disk attached to an Instance.

See Also:

Constructor Summary
Instance.AttachedDisk(Integer index)
           
 
Method Summary
static Instance.AttachedDisk ephemeralDiskAtIndex(Integer index)
           
 boolean equals(Object obj)
          
 int getIndex()
           
 int hashCode()
          
 boolean isPersistent()
           
protected  com.google.common.base.Objects.ToStringHelper string()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instance.AttachedDisk

public Instance.AttachedDisk(Integer index)
Method Detail

isPersistent

public boolean isPersistent()

getIndex

public int getIndex()
Returns:
a zero-based index to assign to this disk, where 0 is reserved for the boot disk.

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

ephemeralDiskAtIndex

public static Instance.AttachedDisk ephemeralDiskAtIndex(Integer index)


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