@Generated(value="software.amazon.awssdk:codegen") public final class TimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeRange.Builder,TimeRange>
A time range with a start and end time.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TimeRange.Builder |
builder() |
Instant |
endTime()
Time in UTC at which the time range ends.
|
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()
Time in UTC at which the time range starts.
|
TimeRange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant endTime()
Time in UTC at which the time range ends.
public final Instant startTime()
Time in UTC at which the time range starts.
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 © 2023. All rights reserved.