Package org.jclouds.cloudstack.domain
Class Snapshot.Builder<T extends Snapshot.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Snapshot.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
account
protected Date
created
protected String
domain
protected String
domainId
protected String
id
protected Snapshot.Interval
interval
protected String
jobId
protected String
jobStatus
protected String
name
protected Snapshot.Type
snapshotType
protected Snapshot.State
state
protected Set<Tag>
tags
protected String
volumeId
protected String
volumeName
protected Volume.Type
volumeType
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
account(String account)
Snapshot
build()
T
created(Date created)
T
domain(String domain)
T
domainId(String domainId)
T
fromSnapshot(Snapshot in)
T
id(String id)
T
interval(Snapshot.Interval interval)
T
jobId(String jobId)
T
jobStatus(String jobStatus)
T
name(String name)
protected abstract T
self()
T
snapshotType(Snapshot.Type snapshotType)
T
state(Snapshot.State state)
T
tags(Set<Tag> tags)
T
tags(Tag... in)
T
volumeId(String volumeId)
T
volumeName(String volumeName)
T
volumeType(Volume.Type volumeType)
-
-
-
Field Detail
-
id
protected String id
-
account
protected String account
-
created
protected Date created
-
domain
protected String domain
-
domainId
protected String domainId
-
interval
protected Snapshot.Interval interval
-
jobId
protected String jobId
-
jobStatus
protected String jobStatus
-
name
protected String name
-
snapshotType
protected Snapshot.Type snapshotType
-
state
protected Snapshot.State state
-
volumeId
protected String volumeId
-
volumeName
protected String volumeName
-
volumeType
protected Volume.Type volumeType
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(String id)
- See Also:
Snapshot.getId()
-
account
public T account(String account)
- See Also:
Snapshot.getAccount()
-
created
public T created(Date created)
- See Also:
Snapshot.getCreated()
-
domain
public T domain(String domain)
- See Also:
Snapshot.getDomain()
-
domainId
public T domainId(String domainId)
- See Also:
Snapshot.getDomainId()
-
interval
public T interval(Snapshot.Interval interval)
- See Also:
Snapshot.getInterval()
-
jobId
public T jobId(String jobId)
- See Also:
Snapshot.getJobId()
-
jobStatus
public T jobStatus(String jobStatus)
- See Also:
Snapshot.getJobStatus()
-
name
public T name(String name)
- See Also:
Snapshot.getName()
-
snapshotType
public T snapshotType(Snapshot.Type snapshotType)
- See Also:
Snapshot.getSnapshotType()
-
state
public T state(Snapshot.State state)
- See Also:
Snapshot.getState()
-
volumeId
public T volumeId(String volumeId)
- See Also:
Snapshot.getVolumeId()
-
volumeName
public T volumeName(String volumeName)
- See Also:
Snapshot.getVolumeName()
-
volumeType
public T volumeType(Volume.Type volumeType)
- See Also:
Snapshot.getVolumeType()
-
tags
public T tags(Set<Tag> tags)
- See Also:
Snapshot.getTags()
-
build
public Snapshot build()
-
-