RetentionDurationArgs

data class RetentionDurationArgs(val count: Output<Int>? = null, val durationType: Output<Either<String, RetentionDurationType>>? = null) : ConvertibleToJava<RetentionDurationArgs>

Retention duration.

Constructors

Link copied to clipboard
constructor(count: Output<Int>? = null, durationType: Output<Either<String, RetentionDurationType>>? = null)

Properties

Link copied to clipboard
val count: Output<Int>? = null

Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.

Link copied to clipboard
val durationType: Output<Either<String, RetentionDurationType>>? = null

Retention duration type of retention policy.

Functions

Link copied to clipboard
open override fun toJava(): RetentionDurationArgs