org.jclouds.googlecomputeengine.domain
Class Snapshot.Builder

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Resource.Builder<T>
      extended by org.jclouds.googlecomputeengine.domain.AbstractDisk.Builder<Snapshot.Builder>
          extended by org.jclouds.googlecomputeengine.domain.Snapshot.Builder
Enclosing class:
Snapshot

public static final class Snapshot.Builder
extends AbstractDisk.Builder<Snapshot.Builder>


Field Summary
 
Fields inherited from class org.jclouds.googlecomputeengine.domain.AbstractDisk.Builder
sizeGb, status
 
Fields inherited from class org.jclouds.googlecomputeengine.domain.Resource.Builder
creationTimestamp, description, id, kind, name, selfLink
 
Constructor Summary
Snapshot.Builder()
           
 
Method Summary
 Snapshot build()
           
 Snapshot.Builder fromSnapshot(Snapshot in)
           
protected  Snapshot.Builder self()
           
 Snapshot.Builder sourceDisk(URI sourceDisk)
           
 Snapshot.Builder sourceDiskId(String sourceDiskId)
           
 
Methods inherited from class org.jclouds.googlecomputeengine.domain.AbstractDisk.Builder
fromAbstractDisk, sizeGb, status
 
Methods inherited from class org.jclouds.googlecomputeengine.domain.Resource.Builder
creationTimestamp, description, fromResource, id, kind, name, selfLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Snapshot.Builder

public Snapshot.Builder()
Method Detail

sourceDisk

public Snapshot.Builder sourceDisk(URI sourceDisk)
See Also:
Snapshot.getSourceDisk()

sourceDiskId

public Snapshot.Builder sourceDiskId(String sourceDiskId)
See Also:
Snapshot.getSourceDiskId()

self

protected Snapshot.Builder self()
Specified by:
self in class Resource.Builder<Snapshot.Builder>

build

public Snapshot build()
Overrides:
build in class Resource.Builder<Snapshot.Builder>

fromSnapshot

public Snapshot.Builder fromSnapshot(Snapshot in)


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