Class SecretRotationRotationRulesArgs.Builder

    • Method Detail

      • automaticallyAfterDays

        public SecretRotationRotationRulesArgs.Builder automaticallyAfterDays​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.Integer> automaticallyAfterDays)
        Parameters:
        automaticallyAfterDays - Number of days between automatic scheduled rotations of the secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.
        Returns:
        builder
      • automaticallyAfterDays

        public SecretRotationRotationRulesArgs.Builder automaticallyAfterDays​(java.lang.Integer automaticallyAfterDays)
        Parameters:
        automaticallyAfterDays - Number of days between automatic scheduled rotations of the secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.
        Returns:
        builder
      • duration

        public SecretRotationRotationRulesArgs.Builder duration​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> duration)
        Parameters:
        duration - The length of the rotation window in hours. For example, `3h` for a three hour window.
        Returns:
        builder
      • duration

        public SecretRotationRotationRulesArgs.Builder duration​(java.lang.String duration)
        Parameters:
        duration - The length of the rotation window in hours. For example, `3h` for a three hour window.
        Returns:
        builder
      • scheduleExpression

        public SecretRotationRotationRulesArgs.Builder scheduleExpression​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> scheduleExpression)
        Parameters:
        scheduleExpression - `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.
        Returns:
        builder
      • scheduleExpression

        public SecretRotationRotationRulesArgs.Builder scheduleExpression​(java.lang.String scheduleExpression)
        Parameters:
        scheduleExpression - `cron()` or `rate()` expression that defines the schedule for rotating your secret. Either `automaticallyAfterDays` or `scheduleExpression` must be specified.
        Returns:
        builder