@Generated(value="software.amazon.awssdk:codegen") public final class RetentionProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetentionProperties.Builder,RetentionProperties>
Retention properties contain the duration for which your time-series data must be stored in the magnetic store and the memory store.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RetentionProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RetentionProperties.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
magneticStoreRetentionPeriodInDays()
The duration for which data must be stored in the magnetic store.
|
Long |
memoryStoreRetentionPeriodInHours()
The duration for which data must be stored in the memory store.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RetentionProperties.Builder> |
serializableBuilderClass() |
RetentionProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long memoryStoreRetentionPeriodInHours()
The duration for which data must be stored in the memory store.
public final Long magneticStoreRetentionPeriodInDays()
The duration for which data must be stored in the magnetic store.
public RetentionProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RetentionProperties.Builder,RetentionProperties>public static RetentionProperties.Builder builder()
public static Class<? extends RetentionProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.