@Generated(value="software.amazon.awssdk:codegen") public final class TimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeRange.Builder,TimeRange>
Provides a range of time.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeRange.Builder |
builder() |
Instant |
endTime()
The UNIX datetime of the end of the time range.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeRange.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The UNIX datetime of the beginning of the time range.
|
TimeRange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant startTime()
The UNIX datetime of the beginning of the time range.
public final Instant endTime()
The UNIX datetime of the end of the time range.
public TimeRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TimeRange.Builder,TimeRange>public static TimeRange.Builder builder()
public static Class<? extends TimeRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.