Class FirestoreBackupSchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.firestore_backup_schedule.FirestoreBackupSchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirestoreBackupSchedule>
- Enclosing class:
- FirestoreBackupSchedule
@Stability(Stable) public static final class FirestoreBackupSchedule.Builder extends Object implements software.amazon.jsii.Builder<FirestoreBackupSchedule>
A fluent builder forFirestoreBackupSchedule.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FirestoreBackupSchedulebuild()FirestoreBackupSchedule.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)FirestoreBackupSchedule.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)FirestoreBackupSchedule.Buildercount(com.hashicorp.cdktf.TerraformCount count)FirestoreBackupSchedule.Buildercount(Number count)static FirestoreBackupSchedule.Buildercreate(software.constructs.Construct scope, String id)FirestoreBackupSchedule.BuilderdailyRecurrence(FirestoreBackupScheduleDailyRecurrence dailyRecurrence)daily_recurrence block.FirestoreBackupSchedule.Builderdatabase(String database)The Firestore database id.FirestoreBackupSchedule.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)FirestoreBackupSchedule.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)FirestoreBackupSchedule.Builderid(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}.FirestoreBackupSchedule.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)FirestoreBackupSchedule.Builderproject(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}.FirestoreBackupSchedule.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)FirestoreBackupSchedule.Builderprovisioners(List<? extends Object> provisioners)FirestoreBackupSchedule.Builderretention(String retention)At what relative time in the future, compared to its creation time, the backup should be deleted, e.g.FirestoreBackupSchedule.Buildertimeouts(FirestoreBackupScheduleTimeouts timeouts)timeouts block.FirestoreBackupSchedule.BuilderweeklyRecurrence(FirestoreBackupScheduleWeeklyRecurrence weeklyRecurrence)weekly_recurrence block.
-
-
-
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(Number count)
- Parameters:
count- 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
-
provisioners
@Stability(Experimental) public FirestoreBackupSchedule.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- 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
-
build
@Stability(Stable) public FirestoreBackupSchedule build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FirestoreBackupSchedule>- Returns:
- a newly built instance of
FirestoreBackupSchedule.
-
-