Class DeletionConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeletionConfig.Builder,DeletionConfig>
The configuration details required to delete the connection of the stream from the Edge Agent.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeletionConfig.Builderbuilder()final BooleanThebooleanvalue used to indicate whether or not you want to mark the media for deletion, once it has been uploaded to the Kinesis Video Stream cloud.final IntegerThe number of hours that you want to retain the data in the stream on the Edge Agent.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LocalSizeConfigThe value of the local size required in order to delete the edge configuration.static Class<? extends DeletionConfig.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
edgeRetentionInHours
The number of hours that you want to retain the data in the stream on the Edge Agent. The default value of the retention time is 720 hours, which translates to 30 days.
- Returns:
- The number of hours that you want to retain the data in the stream on the Edge Agent. The default value of the retention time is 720 hours, which translates to 30 days.
-
localSizeConfig
The value of the local size required in order to delete the edge configuration.
- Returns:
- The value of the local size required in order to delete the edge configuration.
-
deleteAfterUpload
The
booleanvalue used to indicate whether or not you want to mark the media for deletion, once it has been uploaded to the Kinesis Video Stream cloud. The media files can be deleted if any of the deletion configuration values are set totrue, such as when the limit for theEdgeRetentionInHours, or theMaxLocalMediaSizeInMB, has been reached.Since the default value is set to
true, configure the uploader schedule such that the media files are not being deleted before they are initially uploaded to the Amazon Web Services cloud.- Returns:
- The
booleanvalue used to indicate whether or not you want to mark the media for deletion, once it has been uploaded to the Kinesis Video Stream cloud. The media files can be deleted if any of the deletion configuration values are set totrue, such as when the limit for theEdgeRetentionInHours, or theMaxLocalMediaSizeInMB, has been reached.Since the default value is set to
true, configure the uploader schedule such that the media files are not being deleted before they are initially uploaded to the Amazon Web Services cloud.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeletionConfig.Builder,DeletionConfig>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-