Class FirestoreBackupSchedule.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static FirestoreBackupSchedule.Builder create​(software.constructs.Construct scope,
                                                             String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of FirestoreBackupSchedule.Builder.
      • connection

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public FirestoreBackupSchedule.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • retention

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder retention​(String retention)
        At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

        You can set this to a value up to 14 weeks. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#retention FirestoreBackupSchedule#retention}

        Parameters:
        retention - At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". This parameter is required.
        Returns:
        this
      • dailyRecurrence

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder dailyRecurrence​(FirestoreBackupScheduleDailyRecurrence dailyRecurrence)
        daily_recurrence block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#daily_recurrence FirestoreBackupSchedule#daily_recurrence}

        Parameters:
        dailyRecurrence - daily_recurrence block. This parameter is required.
        Returns:
        this
      • database

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder database​(String database)
        The Firestore database id. Defaults to '"(default)"'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#database FirestoreBackupSchedule#database}

        Parameters:
        database - The Firestore database id. Defaults to '"(default)"'. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#id FirestoreBackupSchedule#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#id FirestoreBackupSchedule#id}. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#project FirestoreBackupSchedule#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#project FirestoreBackupSchedule#project}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder timeouts​(FirestoreBackupScheduleTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#timeouts FirestoreBackupSchedule#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this
      • weeklyRecurrence

        @Stability(Stable)
        public FirestoreBackupSchedule.Builder weeklyRecurrence​(FirestoreBackupScheduleWeeklyRecurrence weeklyRecurrence)
        weekly_recurrence block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firestore_backup_schedule#weekly_recurrence FirestoreBackupSchedule#weekly_recurrence}

        Parameters:
        weeklyRecurrence - weekly_recurrence block. This parameter is required.
        Returns:
        this