Class GkeBackupRestorePlan.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_backup_restore_plan.GkeBackupRestorePlan.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeBackupRestorePlan>
- Enclosing class:
- GkeBackupRestorePlan
@Stability(Stable) public static final class GkeBackupRestorePlan.Builder extends Object implements software.amazon.jsii.Builder<GkeBackupRestorePlan>
A fluent builder forGkeBackupRestorePlan.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeBackupRestorePlan.BuilderbackupPlan(String backupPlan)A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan.GkeBackupRestorePlanbuild()GkeBackupRestorePlan.Buildercluster(String cluster)The source cluster from which Restores will be created via this RestorePlan.GkeBackupRestorePlan.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)GkeBackupRestorePlan.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)GkeBackupRestorePlan.Buildercount(com.hashicorp.cdktf.TerraformCount count)GkeBackupRestorePlan.Buildercount(Number count)static GkeBackupRestorePlan.Buildercreate(software.constructs.Construct scope, String id)GkeBackupRestorePlan.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)GkeBackupRestorePlan.Builderdescription(String description)User specified descriptive string for this RestorePlan.GkeBackupRestorePlan.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)GkeBackupRestorePlan.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#id GkeBackupRestorePlan#id}.GkeBackupRestorePlan.Builderlabels(Map<String,String> labels)Description: A set of custom labels supplied by the user.GkeBackupRestorePlan.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)GkeBackupRestorePlan.Builderlocation(String location)The region of the Restore Plan.GkeBackupRestorePlan.Buildername(String name)The full name of the BackupPlan Resource.GkeBackupRestorePlan.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#project GkeBackupRestorePlan#project}.GkeBackupRestorePlan.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)GkeBackupRestorePlan.Builderprovisioners(List<? extends Object> provisioners)GkeBackupRestorePlan.BuilderrestoreConfig(GkeBackupRestorePlanRestoreConfig restoreConfig)restore_config block.GkeBackupRestorePlan.Buildertimeouts(GkeBackupRestorePlanTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static GkeBackupRestorePlan.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
GkeBackupRestorePlan.Builder.
-
connection
@Stability(Experimental) public GkeBackupRestorePlan.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public GkeBackupRestorePlan.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeBackupRestorePlan.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public GkeBackupRestorePlan.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public GkeBackupRestorePlan.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public GkeBackupRestorePlan.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public GkeBackupRestorePlan.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public GkeBackupRestorePlan.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public GkeBackupRestorePlan.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
backupPlan
@Stability(Stable) public GkeBackupRestorePlan.Builder backupPlan(String backupPlan)
A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#backup_plan GkeBackupRestorePlan#backup_plan}
- Parameters:
backupPlan- A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. This parameter is required.- Returns:
this
-
cluster
@Stability(Stable) public GkeBackupRestorePlan.Builder cluster(String cluster)
The source cluster from which Restores will be created via this RestorePlan.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#cluster GkeBackupRestorePlan#cluster}
- Parameters:
cluster- The source cluster from which Restores will be created via this RestorePlan. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public GkeBackupRestorePlan.Builder location(String location)
The region of the Restore Plan.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#location GkeBackupRestorePlan#location}
- Parameters:
location- The region of the Restore Plan. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public GkeBackupRestorePlan.Builder name(String name)
The full name of the BackupPlan Resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#name GkeBackupRestorePlan#name}
- Parameters:
name- The full name of the BackupPlan Resource. This parameter is required.- Returns:
this
-
restoreConfig
@Stability(Stable) public GkeBackupRestorePlan.Builder restoreConfig(GkeBackupRestorePlanRestoreConfig restoreConfig)
restore_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#restore_config GkeBackupRestorePlan#restore_config}
- Parameters:
restoreConfig- restore_config block. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public GkeBackupRestorePlan.Builder description(String description)
User specified descriptive string for this RestorePlan.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#description GkeBackupRestorePlan#description}
- Parameters:
description- User specified descriptive string for this RestorePlan. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public GkeBackupRestorePlan.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#id GkeBackupRestorePlan#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/gke_backup_restore_plan#id GkeBackupRestorePlan#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public GkeBackupRestorePlan.Builder labels(Map<String,String> labels)
Description: A set of custom labels supplied by the user.A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#labels GkeBackupRestorePlan#labels}
- Parameters:
labels- Description: A set of custom labels supplied by the user. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public GkeBackupRestorePlan.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#project GkeBackupRestorePlan#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#project GkeBackupRestorePlan#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public GkeBackupRestorePlan.Builder timeouts(GkeBackupRestorePlanTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#timeouts GkeBackupRestorePlan#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public GkeBackupRestorePlan build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeBackupRestorePlan>- Returns:
- a newly built instance of
GkeBackupRestorePlan.
-
-