@Generated(value="software.amazon.awssdk:codegen") public final class TtlDuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TtlDuration.Builder,TtlDuration>
Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt
= EventTime + TtlDuration. For information on HardDelete, see the DeleteRecord
API in the Amazon SageMaker API Reference guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TtlDuration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TtlDuration.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 TtlDuration.Builder> |
serializableBuilderClass() |
TtlDuration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TtlDurationUnit |
unit()
TtlDuration time unit. |
String |
unitAsString()
TtlDuration time unit. |
Integer |
value()
TtlDuration time value. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TtlDurationUnit unit()
TtlDuration time unit.
If the service returns an enum value that is not available in the current SDK version, unit will return
TtlDurationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
TtlDuration time unit.TtlDurationUnitpublic final String unitAsString()
TtlDuration time unit.
If the service returns an enum value that is not available in the current SDK version, unit will return
TtlDurationUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
TtlDuration time unit.TtlDurationUnitpublic final Integer value()
TtlDuration time value.
TtlDuration time value.public TtlDuration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TtlDuration.Builder,TtlDuration>public static TtlDuration.Builder builder()
public static Class<? extends TtlDuration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.