@Generated(value="software.amazon.awssdk:codegen") public final class Range extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Range.Builder,Range>
The relative time period over which data is included in the aggregation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Range.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Range.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 Range.Builder> |
serializableBuilderClass() |
Range.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Unit |
unit()
The unit of time.
|
String |
unitAsString()
The unit of time.
|
Integer |
value()
The amount of time of the specified unit.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer value()
The amount of time of the specified unit.
public final Unit unit()
The unit of time.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic final String unitAsString()
The unit of time.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic Range.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Range.Builder,Range>public static Range.Builder builder()
public static Class<? extends Range.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.