Package com.amazonaws.services.iot.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransferData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferData
clone()
boolean
equals(Object obj)
Date
getAcceptDate()
The date the transfer was accepted.Date
getRejectDate()
The date the transfer was rejected.String
getRejectReason()
The reason why the transfer was rejected.Date
getTransferDate()
The date the transfer took place.String
getTransferMessage()
The transfer message.int
hashCode()
void
setAcceptDate(Date acceptDate)
The date the transfer was accepted.void
setRejectDate(Date rejectDate)
The date the transfer was rejected.void
setRejectReason(String rejectReason)
The reason why the transfer was rejected.void
setTransferDate(Date transferDate)
The date the transfer took place.void
setTransferMessage(String transferMessage)
The transfer message.String
toString()
Returns a string representation of this object; useful for testing and debugging.TransferData
withAcceptDate(Date acceptDate)
The date the transfer was accepted.TransferData
withRejectDate(Date rejectDate)
The date the transfer was rejected.TransferData
withRejectReason(String rejectReason)
The reason why the transfer was rejected.TransferData
withTransferDate(Date transferDate)
The date the transfer took place.TransferData
withTransferMessage(String transferMessage)
The transfer message.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TransferData clone()
-
-