org.jclouds.openstack.nova.v2_0.domain
Class VolumeSnapshot.Builder<T extends VolumeSnapshot.Builder<T>>

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.VolumeSnapshot.Builder<T>
Enclosing class:
VolumeSnapshot

public abstract static class VolumeSnapshot.Builder<T extends VolumeSnapshot.Builder<T>>
extends Object


Field Summary
protected  Date created
           
protected  String description
           
protected  String id
           
protected  String name
           
protected  int size
           
protected  Volume.Status status
           
protected  String volumeId
           
 
Constructor Summary
VolumeSnapshot.Builder()
           
 
Method Summary
 VolumeSnapshot build()
           
 T created(Date created)
           
 T description(String description)
           
 T fromVolumeSnapshot(VolumeSnapshot in)
           
 T id(String id)
           
 T name(String name)
           
protected abstract  T self()
           
 T size(int size)
           
 T status(Volume.Status status)
           
 T volumeId(String volumeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

volumeId

protected String volumeId

status

protected Volume.Status status

size

protected int size

created

protected Date created

name

protected String name

description

protected String description
Constructor Detail

VolumeSnapshot.Builder

public VolumeSnapshot.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
VolumeSnapshot.getId()

volumeId

public T volumeId(String volumeId)
See Also:
VolumeSnapshot.getVolumeId()

status

public T status(Volume.Status status)
See Also:
VolumeSnapshot.getStatus()

size

public T size(int size)
See Also:
VolumeSnapshot.getSize()

created

public T created(Date created)
See Also:
VolumeSnapshot.getCreated()

name

public T name(String name)
See Also:
VolumeSnapshot.getName()

description

public T description(String description)
See Also:
VolumeSnapshot.getDescription()

build

public VolumeSnapshot build()

fromVolumeSnapshot

public T fromVolumeSnapshot(VolumeSnapshot in)


Copyright © 2009-2012 jclouds. All Rights Reserved.