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 ClientDataclone()booleanequals(Object obj)StringgetComment()A user-defined comment about the disk upload.DategetUploadEnd()The time that the disk upload ends.DoublegetUploadSize()The size of the uploaded disk image, in GiB.DategetUploadStart()The time that the disk upload starts.inthashCode()voidsetComment(String comment)A user-defined comment about the disk upload.voidsetUploadEnd(Date uploadEnd)The time that the disk upload ends.voidsetUploadSize(Double uploadSize)The size of the uploaded disk image, in GiB.voidsetUploadStart(Date uploadStart)The time that the disk upload starts.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClientDatawithComment(String comment)A user-defined comment about the disk upload.ClientDatawithUploadEnd(Date uploadEnd)The time that the disk upload ends.ClientDatawithUploadSize(Double uploadSize)The size of the uploaded disk image, in GiB.ClientDatawithUploadStart(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClientData clone()
-
-