@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateFilter extends Object implements Serializable, Cloneable, StructuredPojo
A date filter for querying findings.
Constructor and Description |
---|
DateFilter() |
Modifier and Type | Method and Description |
---|---|
DateFilter |
clone() |
boolean |
equals(Object obj) |
DateRange |
getDateRange()
A date range for the date filter.
|
String |
getEnd()
A timestamp that provides the end date for the date filter.
|
String |
getStart()
A timestamp that provides the start date for the date filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDateRange(DateRange dateRange)
A date range for the date filter.
|
void |
setEnd(String end)
A timestamp that provides the end date for the date filter.
|
void |
setStart(String start)
A timestamp that provides the start date for the date filter.
|
String |
toString()
Returns a string representation of this object.
|
DateFilter |
withDateRange(DateRange dateRange)
A date range for the date filter.
|
DateFilter |
withEnd(String end)
A timestamp that provides the end date for the date filter.
|
DateFilter |
withStart(String start)
A timestamp that provides the start date for the date filter.
|
public void setStart(String start)
A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
start
- A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public String getStart()
A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public DateFilter withStart(String start)
A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
start
- A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public void setEnd(String end)
A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
end
- A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public String getEnd()
A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public DateFilter withEnd(String end)
A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date
and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
end
- A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces,
and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public void setDateRange(DateRange dateRange)
A date range for the date filter.
dateRange
- A date range for the date filter.public DateRange getDateRange()
A date range for the date filter.
public DateFilter withDateRange(DateRange dateRange)
A date range for the date filter.
dateRange
- A date range for the date filter.public String toString()
toString
in class Object
Object.toString()
public DateFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.