StructuredPojo
, ToCopyableBuilder<DateTimeRange.Builder,DateTimeRange>
@Generated("software.amazon.awssdk:codegen") public class DateTimeRange extends Object implements StructuredPojo, ToCopyableBuilder<DateTimeRange.Builder,DateTimeRange>
A range of dates and times that is used by the EventFilter and EntityFilter objects. If
from
is set and to
is set: match items where the timestamp (startTime
,
endTime
, or lastUpdatedTime
) is between from
and to
inclusive. If
from
is set and to
is not set: match items where the timestamp value is equal to or after
from
. If from
is not set and to
is set: match items where the timestamp value
is equal to or before to
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DateTimeRange.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DateTimeRange.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Date |
from() |
The starting date and time of a time range.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends DateTimeRange.Builder> |
serializableBuilderClass() |
|
Date |
to() |
The ending date and time of a time range.
|
DateTimeRange.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Date from()
The starting date and time of a time range.
public Date to()
The ending date and time of a time range.
public DateTimeRange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DateTimeRange.Builder,DateTimeRange>
public static DateTimeRange.Builder builder()
public static Class<? extends DateTimeRange.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.