Class VolumeSnapshot.Builder<T extends VolumeSnapshot.Builder<T>>
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
-