@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeFilter extends Object implements Serializable, Cloneable, StructuredPojo
This container is used to specify a time frame.
Constructor and Description |
---|
TimeFilter() |
Modifier and Type | Method and Description |
---|---|
TimeFilter |
clone() |
boolean |
equals(Object obj) |
BlockchainInstant |
getFrom() |
BlockchainInstant |
getTo() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFrom(BlockchainInstant from) |
void |
setTo(BlockchainInstant to) |
String |
toString()
Returns a string representation of this object.
|
TimeFilter |
withFrom(BlockchainInstant from) |
TimeFilter |
withTo(BlockchainInstant to) |
public void setFrom(BlockchainInstant from)
from
- public BlockchainInstant getFrom()
public TimeFilter withFrom(BlockchainInstant from)
from
- public void setTo(BlockchainInstant to)
to
- public BlockchainInstant getTo()
public TimeFilter withTo(BlockchainInstant to)
to
- public String toString()
toString
in class Object
Object.toString()
public TimeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.