public class ClientData
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the client-specific data.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment
A user-defined comment about the disk upload.
|
private java.util.Date |
uploadEnd
The time that the disk upload ends.
|
private java.lang.Double |
uploadSize
The size of the uploaded disk image, in GiB.
|
private java.util.Date |
uploadStart
The time that the disk upload starts.
|
Constructor and Description |
---|
ClientData() |
Modifier and Type | Method and Description |
---|---|
ClientData |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComment()
A user-defined comment about the disk upload.
|
java.util.Date |
getUploadEnd()
The time that the disk upload ends.
|
java.lang.Double |
getUploadSize()
The size of the uploaded disk image, in GiB.
|
java.util.Date |
getUploadStart()
The time that the disk upload starts.
|
int |
hashCode() |
void |
setComment(java.lang.String comment)
A user-defined comment about the disk upload.
|
void |
setUploadEnd(java.util.Date uploadEnd)
The time that the disk upload ends.
|
void |
setUploadSize(java.lang.Double uploadSize)
The size of the uploaded disk image, in GiB.
|
void |
setUploadStart(java.util.Date uploadStart)
The time that the disk upload starts.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClientData |
withComment(java.lang.String comment)
A user-defined comment about the disk upload.
|
ClientData |
withUploadEnd(java.util.Date uploadEnd)
The time that the disk upload ends.
|
ClientData |
withUploadSize(java.lang.Double uploadSize)
The size of the uploaded disk image, in GiB.
|
ClientData |
withUploadStart(java.util.Date uploadStart)
The time that the disk upload starts.
|
private java.util.Date uploadStart
The time that the disk upload starts.
private java.util.Date uploadEnd
The time that the disk upload ends.
private java.lang.Double uploadSize
The size of the uploaded disk image, in GiB.
private java.lang.String comment
A user-defined comment about the disk upload.
public void setUploadStart(java.util.Date uploadStart)
The time that the disk upload starts.
uploadStart
- The time that the disk upload starts.public java.util.Date getUploadStart()
The time that the disk upload starts.
public ClientData withUploadStart(java.util.Date uploadStart)
The time that the disk upload starts.
uploadStart
- The time that the disk upload starts.public void setUploadEnd(java.util.Date uploadEnd)
The time that the disk upload ends.
uploadEnd
- The time that the disk upload ends.public java.util.Date getUploadEnd()
The time that the disk upload ends.
public ClientData withUploadEnd(java.util.Date uploadEnd)
The time that the disk upload ends.
uploadEnd
- The time that the disk upload ends.public void setUploadSize(java.lang.Double uploadSize)
The size of the uploaded disk image, in GiB.
uploadSize
- The size of the uploaded disk image, in GiB.public java.lang.Double getUploadSize()
The size of the uploaded disk image, in GiB.
public ClientData withUploadSize(java.lang.Double uploadSize)
The size of the uploaded disk image, in GiB.
uploadSize
- The size of the uploaded disk image, in GiB.public void setComment(java.lang.String comment)
A user-defined comment about the disk upload.
comment
- A user-defined comment about the disk upload.public java.lang.String getComment()
A user-defined comment about the disk upload.
public ClientData withComment(java.lang.String comment)
A user-defined comment about the disk upload.
comment
- A user-defined comment about the disk upload.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClientData clone()
clone
in class java.lang.Object