@Generated(value="software.amazon.awssdk:codegen") public final class TimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeRange.Builder,TimeRange>
A structure that defines the time range that you want to retrieve results from.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
Long |
after()
The beginning of the time range to retrieve performance events from.
|
Long |
before()
The end of the time range to retrieve performance events from.
|
static TimeRange.Builder |
builder() |
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() |
TimeRange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long after()
The beginning of the time range to retrieve performance events from.
public final Long before()
The end of the time range to retrieve performance events from. If you omit this, the time range extends to the time that this operation is performed.
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.