@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlockchainInstant extends Object implements Serializable, Cloneable, StructuredPojo
The container for time.
| Constructor and Description |
|---|
BlockchainInstant() |
| Modifier and Type | Method and Description |
|---|---|
BlockchainInstant |
clone() |
boolean |
equals(Object obj) |
Date |
getTime()
The container of the
Timestamp of the blockchain instant. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTime(Date time)
The container of the
Timestamp of the blockchain instant. |
String |
toString()
Returns a string representation of this object.
|
BlockchainInstant |
withTime(Date time)
The container of the
Timestamp of the blockchain instant. |
public void setTime(Date time)
The container of the Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
time - The container of the Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
public Date getTime()
The container of the Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
public BlockchainInstant withTime(Date time)
The container of the Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
time - The container of the Timestamp of the blockchain instant.
This timestamp will only be recorded up to the second.
public String toString()
toString in class ObjectObject.toString()public BlockchainInstant clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.