@Generated(value="software.amazon.awssdk:codegen") public final class DeletionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeletionConfig.Builder,DeletionConfig>
The configuration details required to delete the connection of the stream from the Edge Agent.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeletionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeletionConfig.Builder |
builder() |
Boolean |
deleteAfterUpload()
The
boolean value 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. |
Integer |
edgeRetentionInHours()
The number of hours that you want to retain the data in the stream on the Edge Agent.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LocalSizeConfig |
localSizeConfig()
The value of the local size required in order to delete the edge configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeletionConfig.Builder> |
serializableBuilderClass() |
DeletionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer 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.
public final LocalSizeConfig localSizeConfig()
The value of the local size required in order to delete the edge configuration.
public final Boolean deleteAfterUpload()
The boolean value 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 to true, such as when the limit for the
EdgeRetentionInHours, or the MaxLocalMediaSizeInMB, 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.
boolean value 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 to true, such as when the limit for the
EdgeRetentionInHours, or the MaxLocalMediaSizeInMB, 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.
public DeletionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeletionConfig.Builder,DeletionConfig>public static DeletionConfig.Builder builder()
public static Class<? extends DeletionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.