@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletionConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration details required to delete the connection of the stream from the Edge Agent.
Constructor and Description |
---|
DeletionConfig() |
Modifier and Type | Method and Description |
---|---|
DeletionConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDeleteAfterUpload()
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 |
getEdgeRetentionInHours()
The number of hours that you want to retain the data in the stream on the Edge Agent.
|
LocalSizeConfig |
getLocalSizeConfig()
The value of the local size required in order to delete the edge configuration.
|
int |
hashCode() |
Boolean |
isDeleteAfterUpload()
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. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeleteAfterUpload(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. |
void |
setEdgeRetentionInHours(Integer edgeRetentionInHours)
The number of hours that you want to retain the data in the stream on the Edge Agent.
|
void |
setLocalSizeConfig(LocalSizeConfig localSizeConfig)
The value of the local size required in order to delete the edge configuration.
|
String |
toString()
Returns a string representation of this object.
|
DeletionConfig |
withDeleteAfterUpload(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. |
DeletionConfig |
withEdgeRetentionInHours(Integer edgeRetentionInHours)
The number of hours that you want to retain the data in the stream on the Edge Agent.
|
DeletionConfig |
withLocalSizeConfig(LocalSizeConfig localSizeConfig)
The value of the local size required in order to delete the edge configuration.
|
public void setEdgeRetentionInHours(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.
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 Integer getEdgeRetentionInHours()
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 DeletionConfig withEdgeRetentionInHours(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.
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 void setLocalSizeConfig(LocalSizeConfig localSizeConfig)
The value of the local size required in order to delete the edge configuration.
localSizeConfig
- The value of the local size required in order to delete the edge configuration.public LocalSizeConfig getLocalSizeConfig()
The value of the local size required in order to delete the edge configuration.
public DeletionConfig withLocalSizeConfig(LocalSizeConfig localSizeConfig)
The value of the local size required in order to delete the edge configuration.
localSizeConfig
- The value of the local size required in order to delete the edge configuration.public void setDeleteAfterUpload(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.
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.
public Boolean getDeleteAfterUpload()
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 withDeleteAfterUpload(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.
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.
public Boolean isDeleteAfterUpload()
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 String toString()
toString
in class Object
Object.toString()
public DeletionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.