@Generated(value="software.amazon.awssdk:codegen") public final class DateRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateRange.Builder,DateRange>
This is a resource filter containing FromDate: DateTime and ToDate: DateTime. Both values are required. Future DateTime values are not permitted.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds ((milliseconds are optional). For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DateRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DateRange.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
fromDate()
This value is the beginning date, inclusive.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DateRange.Builder> |
serializableBuilderClass() |
DateRange.Builder |
toBuilder() |
Instant |
toDate()
This value is the end date, inclusive.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant fromDate()
This value is the beginning date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
public final Instant toDate()
This value is the end date, inclusive.
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
The date and time are in Unix format and Coordinated Universal Time (UTC), and it is accurate to milliseconds (milliseconds are optional).
public DateRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DateRange.Builder,DateRange>public static DateRange.Builder builder()
public static Class<? extends DateRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.