Constructor and Description |
---|
Snapshot.Builder() |
Modifier and Type | Method and Description |
---|---|
Snapshot.Builder |
account(String account) |
Snapshot |
build() |
Snapshot.Builder |
created(Date created) |
Snapshot.Builder |
domain(String domain) |
Snapshot.Builder |
domainId(long domainId) |
Snapshot.Builder |
id(long id) |
Snapshot.Builder |
interval(Snapshot.Interval interval) |
Snapshot.Builder |
jobId(long jobId) |
Snapshot.Builder |
jobStatus(String jobStatus) |
Snapshot.Builder |
name(String name) |
Snapshot.Builder |
snapshotType(Snapshot.Type snapshotType) |
Snapshot.Builder |
state(Snapshot.State state) |
Snapshot.Builder |
volumeId(long volumeId) |
Snapshot.Builder |
volumeName(String volumeName) |
Snapshot.Builder |
volumeType(Volume.Type volumeType) |
public Snapshot.Builder id(long id)
id
- ID of the snapshotpublic Snapshot.Builder account(String account)
account
- the account associated with the snapshotpublic Snapshot.Builder created(Date created)
created
- the date the snapshot was createdpublic Snapshot.Builder domain(String domain)
domain
- the domain name of the snapshot's accountpublic Snapshot.Builder domainId(long domainId)
domainId
- the domain ID of the snapshot's accountpublic Snapshot.Builder interval(Snapshot.Interval interval)
interval
- valid types are hourly, daily, weekly, monthy, template, and none.public Snapshot.Builder jobId(long jobId)
jobId
- the job ID associated with the snapshot. This is only displayed if the snapshot listed is part of a currently running asynchronous job.public Snapshot.Builder jobStatus(String jobStatus)
jobStatus
- the job status associated with the snapshot. This is only displayed if the snapshot listed is part of a currently running asynchronous job.public Snapshot.Builder name(String name)
name
- name of the snapshotpublic Snapshot.Builder snapshotType(Snapshot.Type snapshotType)
snapshotType
- the type of the snapshotpublic Snapshot.Builder state(Snapshot.State state)
state
- the state of the snapshot. BackedUp means that snapshot is ready to be used; Creating - the snapshot is being allocated on the primary storage; BackingUp - the snapshot is being backed up on secondary storagepublic Snapshot.Builder volumeId(long volumeId)
volumeId
- ID of the disk volumepublic Snapshot.Builder volumeName(String volumeName)
volumeName
- name of the disk volumepublic Snapshot.Builder volumeType(Volume.Type volumeType)
volumeType
- type of the disk volumepublic Snapshot build()
Copyright © 2009-2012 jclouds. All Rights Reserved.