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:
  • Constructor Details

    • ClientData

      public ClientData()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ClientData clone()
      Overrides:
      clone in class Object