Class RetentionDurationArgs.Builder

  • Enclosing class:
    RetentionDurationArgs

    public static final class RetentionDurationArgs.Builder
    extends java.lang.Object
    • Method Detail

      • count

        public RetentionDurationArgs.Builder count​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> count)
        Parameters:
        count - 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.
        Returns:
        builder
      • count

        public RetentionDurationArgs.Builder count​(java.lang.Integer count)
        Parameters:
        count - 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.
        Returns:
        builder
      • durationType

        public RetentionDurationArgs.Builder durationType​(@Nullable
                                                          com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​RetentionDurationType>> durationType)
        Parameters:
        durationType - Retention duration type of retention policy.
        Returns:
        builder
      • durationType

        public RetentionDurationArgs.Builder durationType​(java.lang.String durationType)
        Parameters:
        durationType - Retention duration type of retention policy.
        Returns:
        builder