Package com.amazonaws.services.ec2.model
Class ClientData
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ClientData
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ClientData extends Object implements Serializable, Cloneable
Describes the client-specific data.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setUploadStart
public void setUploadStart(Date uploadStart)
The time that the disk upload starts.
- Parameters:
uploadStart
- The time that the disk upload starts.
-
getUploadStart
public Date getUploadStart()
The time that the disk upload starts.
- Returns:
- The time that the disk upload starts.
-
withUploadStart
public ClientData withUploadStart(Date uploadStart)
The time that the disk upload starts.
- Parameters:
uploadStart
- The time that the disk upload starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadEnd
public void setUploadEnd(Date uploadEnd)
The time that the disk upload ends.
- Parameters:
uploadEnd
- The time that the disk upload ends.
-
getUploadEnd
public Date getUploadEnd()
The time that the disk upload ends.
- Returns:
- The time that the disk upload ends.
-
withUploadEnd
public ClientData withUploadEnd(Date uploadEnd)
The time that the disk upload ends.
- Parameters:
uploadEnd
- The time that the disk upload ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUploadSize
public void setUploadSize(Double uploadSize)
The size of the uploaded disk image, in GiB.
- Parameters:
uploadSize
- The size of the uploaded disk image, in GiB.
-
getUploadSize
public Double getUploadSize()
The size of the uploaded disk image, in GiB.
- Returns:
- The size of the uploaded disk image, in GiB.
-
withUploadSize
public ClientData withUploadSize(Double uploadSize)
The size of the uploaded disk image, in GiB.
- Parameters:
uploadSize
- The size of the uploaded disk image, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
public void setComment(String comment)
A user-defined comment about the disk upload.
- Parameters:
comment
- A user-defined comment about the disk upload.
-
getComment
public String getComment()
A user-defined comment about the disk upload.
- Returns:
- A user-defined comment about the disk upload.
-
withComment
public ClientData withComment(String comment)
A user-defined comment about the disk upload.
- Parameters:
comment
- A user-defined comment about the disk upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClientData clone()
-
-