@Generated(value="software.amazon.awssdk:codegen") public final class TimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeRange.Builder,TimeRange>
The time range.
Modifier and Type | Class and Description |
---|---|
static interface |
TimeRange.Builder |
Modifier and Type | Method and Description |
---|---|
static TimeRange.Builder |
builder() |
boolean |
equals(Object obj) |
Instant |
fromInclusive()
The start time, in Unix time in seconds.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TimeRange.Builder> |
serializableBuilderClass() |
TimeRange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
Instant |
toExclusive()
The end time, in Unix time in seconds.
|
String |
toString() |
copy
public Instant fromInclusive()
The start time, in Unix time in seconds. For more information see timestamp.
public Instant toExclusive()
The end time, in Unix time in seconds. For more information see timestamp.
public TimeRange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TimeRange.Builder,TimeRange>
public static TimeRange.Builder builder()
public static Class<? extends TimeRange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.