Class TransferData

java.lang.Object
com.amazonaws.services.iot.model.TransferData
All Implemented Interfaces:
Serializable, Cloneable

public class TransferData extends Object implements Serializable, Cloneable

Data used to transfer a certificate to an AWS account.

See Also:
  • Constructor Details

    • TransferData

      public TransferData()
  • Method Details

    • setTransferMessage

      public void setTransferMessage(String transferMessage)

      The transfer message.

      Parameters:
      transferMessage - The transfer message.
    • getTransferMessage

      public String getTransferMessage()

      The transfer message.

      Returns:
      The transfer message.
    • withTransferMessage

      public TransferData withTransferMessage(String transferMessage)

      The transfer message.

      Parameters:
      transferMessage - The transfer message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRejectReason

      public void setRejectReason(String rejectReason)

      The reason why the transfer was rejected.

      Parameters:
      rejectReason - The reason why the transfer was rejected.
    • getRejectReason

      public String getRejectReason()

      The reason why the transfer was rejected.

      Returns:
      The reason why the transfer was rejected.
    • withRejectReason

      public TransferData withRejectReason(String rejectReason)

      The reason why the transfer was rejected.

      Parameters:
      rejectReason - The reason why the transfer was rejected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTransferDate

      public void setTransferDate(Date transferDate)

      The date the transfer took place.

      Parameters:
      transferDate - The date the transfer took place.
    • getTransferDate

      public Date getTransferDate()

      The date the transfer took place.

      Returns:
      The date the transfer took place.
    • withTransferDate

      public TransferData withTransferDate(Date transferDate)

      The date the transfer took place.

      Parameters:
      transferDate - The date the transfer took place.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAcceptDate

      public void setAcceptDate(Date acceptDate)

      The date the transfer was accepted.

      Parameters:
      acceptDate - The date the transfer was accepted.
    • getAcceptDate

      public Date getAcceptDate()

      The date the transfer was accepted.

      Returns:
      The date the transfer was accepted.
    • withAcceptDate

      public TransferData withAcceptDate(Date acceptDate)

      The date the transfer was accepted.

      Parameters:
      acceptDate - The date the transfer was accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRejectDate

      public void setRejectDate(Date rejectDate)

      The date the transfer was rejected.

      Parameters:
      rejectDate - The date the transfer was rejected.
    • getRejectDate

      public Date getRejectDate()

      The date the transfer was rejected.

      Returns:
      The date the transfer was rejected.
    • withRejectDate

      public TransferData withRejectDate(Date rejectDate)

      The date the transfer was rejected.

      Parameters:
      rejectDate - The date the transfer was rejected.
      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 TransferData clone()
      Overrides:
      clone in class Object