Class Snapshot.Builder
- java.lang.Object
-
- org.jclouds.openstack.cinder.v1.domain.Snapshot.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected Date
created
protected String
description
protected SnapshotExtendedAttributes
extendedAttributes
protected String
id
protected String
name
protected int
size
protected Volume.Status
status
protected String
volumeId
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Snapshot
build()
Snapshot.Builder
created(Date created)
Snapshot.Builder
description(String description)
Snapshot.Builder
extendedAttributes(SnapshotExtendedAttributes extendedAttributes)
Snapshot.Builder
fromSnapshot(Snapshot in)
Snapshot.Builder
id(String id)
Snapshot.Builder
name(String name)
protected Snapshot.Builder
self()
Snapshot.Builder
size(int size)
Snapshot.Builder
status(Volume.Status status)
Snapshot.Builder
volumeId(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()
-
-