org.jclouds.openstack.cinder.v1.domain
Class Snapshot.Builder<T extends Snapshot.Builder<T>>
java.lang.Object
org.jclouds.openstack.cinder.v1.domain.Snapshot.Builder<T>
- Enclosing class:
- Snapshot
public abstract static class Snapshot.Builder<T extends Snapshot.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Snapshot.Builder
public Snapshot.Builder()
self
protected abstract T self()
id
public T id(String id)
- See Also:
Snapshot.getId()
volumeId
public T volumeId(String volumeId)
- See Also:
Snapshot.getVolumeId()
status
public T status(Volume.Status status)
- See Also:
Snapshot.getStatus()
size
public T size(int size)
- See Also:
Snapshot.getSize()
created
public T created(Date created)
- See Also:
Snapshot.getCreated()
name
public T name(String name)
- See Also:
Snapshot.getName()
description
public T description(String description)
- See Also:
Snapshot.getDescription()
build
public Snapshot build()
fromSnapshot
public T fromSnapshot(Snapshot in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.