@Generated(value="software.amazon.awssdk:codegen") public final class AbsoluteTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>
A time range, set in seconds, between two points in the call.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbsoluteTimeRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AbsoluteTimeRange.Builder |
builder() |
Long |
endTime()
A value that indicates the end of the time range in milliseconds.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
first()
A time range from the beginning of the call to the value that you've specified.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
last()
A time range from the value that you've specified to the end of the call.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AbsoluteTimeRange.Builder> |
serializableBuilderClass() |
Long |
startTime()
A value that indicates the beginning of the time range in seconds.
|
AbsoluteTimeRange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long startTime()
A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public final Long endTime()
A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
StartTime - 10000
Endtime - 50000
The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.
public final Long first()
A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.
public final Long last()
A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.
public AbsoluteTimeRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>public static AbsoluteTimeRange.Builder builder()
public static Class<? extends AbsoluteTimeRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.