public class BulkVolumeJob
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BulkVolumeJob.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
BulkVolumeJob() |
BulkVolumeJob(java.lang.Long bulkVolumeID,
java.lang.String createTime,
java.lang.Long elapsedTime,
java.lang.String format,
java.lang.String key,
java.lang.Long percentComplete,
java.lang.Long remainingTime,
java.lang.Long srcVolumeID,
java.lang.String status,
Optional<java.lang.String> script,
Optional<java.lang.Long> snapshotID,
java.lang.String type,
Attributes attributes) |
BulkVolumeJob(java.lang.Long bulkVolumeID,
java.lang.String createTime,
java.lang.String format,
java.lang.String key,
java.lang.Long percentComplete,
java.lang.Long remainingTime,
java.lang.Long srcVolumeID,
java.lang.String status,
Optional<java.lang.String> script,
Optional<java.lang.Long> snapshotID,
java.lang.String type,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
BulkVolumeJob.Builder |
asBuilder() |
static BulkVolumeJob.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Attributes |
getAttributes()
JSON attributes on the bulk volume job.
|
java.lang.Long |
getBulkVolumeID()
The internal bulk volume job ID.
|
java.lang.String |
getCreateTime()
Timestamp created for the bulk volume job.
|
java.lang.Long |
getElapsedTime()
The number of seconds since the job began.
|
java.lang.String |
getFormat()
Format is either "compressed" or "native".
|
java.lang.String |
getKey()
The unique key created by the bulk volume session.
|
java.lang.Long |
getPercentComplete()
The completed percentage reported by the operation.
|
java.lang.Long |
getRemainingTime()
The estimated time remaining in seconds.
|
Optional<java.lang.String> |
getScript()
The name of the script if one is provided.
|
Optional<java.lang.Long> |
getSnapshotID()
ID of the snapshot if a snapshot is in the source of the bulk volume job.
|
java.lang.Long |
getSrcVolumeID()
The source volume ID.
|
java.lang.String |
getStatus()
Can be one of the following:
preparing
active
done
failed
|
java.lang.String |
getType()
Can be one of the following:
read
write
|
int |
hashCode() |
void |
setAttributes(Attributes attributes) |
void |
setBulkVolumeID(java.lang.Long bulkVolumeID) |
void |
setCreateTime(java.lang.String createTime) |
void |
setElapsedTime(java.lang.Long elapsedTime) |
void |
setFormat(java.lang.String format) |
void |
setKey(java.lang.String key) |
void |
setPercentComplete(java.lang.Long percentComplete) |
void |
setRemainingTime(java.lang.Long remainingTime) |
void |
setScript(Optional<java.lang.String> script) |
void |
setSnapshotID(Optional<java.lang.Long> snapshotID) |
void |
setSrcVolumeID(java.lang.Long srcVolumeID) |
void |
setStatus(java.lang.String status) |
void |
setType(java.lang.String type) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public BulkVolumeJob(java.lang.Long bulkVolumeID, java.lang.String createTime, java.lang.String format, java.lang.String key, java.lang.Long percentComplete, java.lang.Long remainingTime, java.lang.Long srcVolumeID, java.lang.String status, Optional<java.lang.String> script, Optional<java.lang.Long> snapshotID, java.lang.String type, Attributes attributes)
@Since(value="8.0") public BulkVolumeJob(java.lang.Long bulkVolumeID, java.lang.String createTime, java.lang.Long elapsedTime, java.lang.String format, java.lang.String key, java.lang.Long percentComplete, java.lang.Long remainingTime, java.lang.Long srcVolumeID, java.lang.String status, Optional<java.lang.String> script, Optional<java.lang.Long> snapshotID, java.lang.String type, Attributes attributes)
public java.lang.Long getBulkVolumeID()
public void setBulkVolumeID(java.lang.Long bulkVolumeID)
public java.lang.String getCreateTime()
public void setCreateTime(java.lang.String createTime)
public java.lang.Long getElapsedTime()
public void setElapsedTime(java.lang.Long elapsedTime)
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.Long getPercentComplete()
public void setPercentComplete(java.lang.Long percentComplete)
public java.lang.Long getRemainingTime()
public void setRemainingTime(java.lang.Long remainingTime)
public java.lang.Long getSrcVolumeID()
public void setSrcVolumeID(java.lang.Long srcVolumeID)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public Optional<java.lang.String> getScript()
public void setScript(Optional<java.lang.String> script)
public Optional<java.lang.Long> getSnapshotID()
public void setSnapshotID(Optional<java.lang.Long> snapshotID)
public java.lang.String getType()
public void setType(java.lang.String type)
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static BulkVolumeJob.Builder builder()
public final BulkVolumeJob.Builder asBuilder()