@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecutionTimeFilter extends Object implements Serializable, Cloneable, StructuredPojo
Used to filter the workflow executions in visibility APIs by various time-based rules. Each parameter, if specified,
defines a rule that must be satisfied by each returned query result. The parameter values are in the Unix Time format. For example:
"oldestDate": 1325376070.
Constructor and Description |
---|
ExecutionTimeFilter() |
Modifier and Type | Method and Description |
---|---|
ExecutionTimeFilter |
clone() |
boolean |
equals(Object obj) |
Date |
getLatestDate()
Specifies the latest start or close date and time to return.
|
Date |
getOldestDate()
Specifies the oldest start or close date and time to return.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLatestDate(Date latestDate)
Specifies the latest start or close date and time to return.
|
void |
setOldestDate(Date oldestDate)
Specifies the oldest start or close date and time to return.
|
String |
toString()
Returns a string representation of this object.
|
ExecutionTimeFilter |
withLatestDate(Date latestDate)
Specifies the latest start or close date and time to return.
|
ExecutionTimeFilter |
withOldestDate(Date oldestDate)
Specifies the oldest start or close date and time to return.
|
public void setOldestDate(Date oldestDate)
Specifies the oldest start or close date and time to return.
oldestDate
- Specifies the oldest start or close date and time to return.public Date getOldestDate()
Specifies the oldest start or close date and time to return.
public ExecutionTimeFilter withOldestDate(Date oldestDate)
Specifies the oldest start or close date and time to return.
oldestDate
- Specifies the oldest start or close date and time to return.public void setLatestDate(Date latestDate)
Specifies the latest start or close date and time to return.
latestDate
- Specifies the latest start or close date and time to return.public Date getLatestDate()
Specifies the latest start or close date and time to return.
public ExecutionTimeFilter withLatestDate(Date latestDate)
Specifies the latest start or close date and time to return.
latestDate
- Specifies the latest start or close date and time to return.public String toString()
toString
in class Object
Object.toString()
public ExecutionTimeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.