public class ClientData extends Object implements Serializable, Cloneable
Describes the client-specific data.
Constructor and Description |
---|
ClientData() |
Modifier and Type | Method and Description |
---|---|
ClientData |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
A user-defined comment about the disk upload.
|
Date |
getUploadEnd()
The time that the disk upload ends.
|
Double |
getUploadSize()
The size of the uploaded disk image, in GiB.
|
Date |
getUploadStart()
The time that the disk upload starts.
|
int |
hashCode() |
void |
setComment(String comment)
A user-defined comment about the disk upload.
|
void |
setUploadEnd(Date uploadEnd)
The time that the disk upload ends.
|
void |
setUploadSize(Double uploadSize)
The size of the uploaded disk image, in GiB.
|
void |
setUploadStart(Date uploadStart)
The time that the disk upload starts.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClientData |
withComment(String comment)
A user-defined comment about the disk upload.
|
ClientData |
withUploadEnd(Date uploadEnd)
The time that the disk upload ends.
|
ClientData |
withUploadSize(Double uploadSize)
The size of the uploaded disk image, in GiB.
|
ClientData |
withUploadStart(Date uploadStart)
The time that the disk upload starts.
|
public Date getUploadStart()
public void setUploadStart(Date uploadStart)
uploadStart
- The time that the disk upload starts.public ClientData withUploadStart(Date uploadStart)
Returns a reference to this object so that method calls can be chained together.
uploadStart
- The time that the disk upload starts.public Date getUploadEnd()
public void setUploadEnd(Date uploadEnd)
uploadEnd
- The time that the disk upload ends.public ClientData withUploadEnd(Date uploadEnd)
Returns a reference to this object so that method calls can be chained together.
uploadEnd
- The time that the disk upload ends.public Double getUploadSize()
public void setUploadSize(Double uploadSize)
uploadSize
- The size of the uploaded disk image, in GiB.public ClientData withUploadSize(Double uploadSize)
Returns a reference to this object so that method calls can be chained together.
uploadSize
- The size of the uploaded disk image, in GiB.public String getComment()
public void setComment(String comment)
comment
- A user-defined comment about the disk upload.public ClientData withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
comment
- A user-defined comment about the disk upload.public String toString()
toString
in class Object
Object.toString()
public ClientData clone()
Copyright © 2015. All rights reserved.