Class Snapshot.Builder
- java.lang.Object
-
- org.jclouds.openstack.cinder.v1.domain.Snapshot.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected Datecreatedprotected Stringdescriptionprotected SnapshotExtendedAttributesextendedAttributesprotected Stringidprotected Stringnameprotected intsizeprotected Volume.Statusstatusprotected StringvolumeId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Snapshotbuild()Snapshot.Buildercreated(Date created)Snapshot.Builderdescription(String description)Snapshot.BuilderextendedAttributes(SnapshotExtendedAttributes extendedAttributes)Snapshot.BuilderfromSnapshot(Snapshot in)Snapshot.Builderid(String id)Snapshot.Buildername(String name)protected Snapshot.Builderself()Snapshot.Buildersize(int size)Snapshot.Builderstatus(Volume.Status status)Snapshot.BuildervolumeId(String volumeId)
-
-
-
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
-
extendedAttributes
protected SnapshotExtendedAttributes extendedAttributes
-
-
Method Detail
-
id
public Snapshot.Builder id(String id)
- See Also:
Snapshot.getId()
-
volumeId
public Snapshot.Builder volumeId(String volumeId)
- See Also:
Snapshot.getVolumeId()
-
status
public Snapshot.Builder status(Volume.Status status)
- See Also:
Snapshot.getStatus()
-
size
public Snapshot.Builder size(int size)
- See Also:
Snapshot.getSize()
-
created
public Snapshot.Builder created(Date created)
- See Also:
Snapshot.getCreated()
-
name
public Snapshot.Builder name(String name)
- See Also:
Snapshot.getName()
-
description
public Snapshot.Builder description(String description)
- See Also:
Snapshot.getDescription()
-
extendedAttributes
public Snapshot.Builder extendedAttributes(SnapshotExtendedAttributes extendedAttributes)
- See Also:
Snapshot.getExtendedAttributes()
-
build
public Snapshot build()
-
fromSnapshot
public Snapshot.Builder fromSnapshot(Snapshot in)
-
self
protected Snapshot.Builder self()
-
-