Class StorageMinimumTimeToLive
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.StorageMinimumTimeToLive
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageMinimumTimeToLive.Builder,StorageMinimumTimeToLive>
@Generated("software.amazon.awssdk:codegen") public final class StorageMinimumTimeToLive extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageMinimumTimeToLive.Builder,StorageMinimumTimeToLive>
Information about the minimum amount of time that data will be kept.
Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see Amazon Web Services Region and feature availability in the Amazon Web Services IoT FleetWise Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageMinimumTimeToLive.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageMinimumTimeToLive.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StorageMinimumTimeToLive.Builder>serializableBuilderClass()StorageMinimumTimeToLive.BuildertoBuilder()StringtoString()Returns a string representation of this object.StorageMinimumTimeToLiveUnitunit()The time increment type.StringunitAsString()The time increment type.Integervalue()The minimum amount of time to store the data.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
unit
public final StorageMinimumTimeToLiveUnit unit()
The time increment type.
If the service returns an enum value that is not available in the current SDK version,
unitwill returnStorageMinimumTimeToLiveUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The time increment type.
- See Also:
StorageMinimumTimeToLiveUnit
-
unitAsString
public final String unitAsString()
The time increment type.
If the service returns an enum value that is not available in the current SDK version,
unitwill returnStorageMinimumTimeToLiveUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The time increment type.
- See Also:
StorageMinimumTimeToLiveUnit
-
value
public final Integer value()
The minimum amount of time to store the data.
- Returns:
- The minimum amount of time to store the data.
-
toBuilder
public StorageMinimumTimeToLive.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageMinimumTimeToLive.Builder,StorageMinimumTimeToLive>
-
builder
public static StorageMinimumTimeToLive.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageMinimumTimeToLive.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-