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 TransferDataclone()booleanequals(Object obj)DategetAcceptDate()The date the transfer was accepted.DategetRejectDate()The date the transfer was rejected.StringgetRejectReason()The reason why the transfer was rejected.DategetTransferDate()The date the transfer took place.StringgetTransferMessage()The transfer message.inthashCode()voidsetAcceptDate(Date acceptDate)The date the transfer was accepted.voidsetRejectDate(Date rejectDate)The date the transfer was rejected.voidsetRejectReason(String rejectReason)The reason why the transfer was rejected.voidsetTransferDate(Date transferDate)The date the transfer took place.voidsetTransferMessage(String transferMessage)The transfer message.StringtoString()Returns a string representation of this object; useful for testing and debugging.TransferDatawithAcceptDate(Date acceptDate)The date the transfer was accepted.TransferDatawithRejectDate(Date rejectDate)The date the transfer was rejected.TransferDatawithRejectReason(String rejectReason)The reason why the transfer was rejected.TransferDatawithTransferDate(Date transferDate)The date the transfer took place.TransferDatawithTransferMessage(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TransferData clone()
-
-