Class GkeBackupBackupPlanBackupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_backup_backup_plan.GkeBackupBackupPlanBackupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeBackupBackupPlanBackupConfig>
- Enclosing interface:
- GkeBackupBackupPlanBackupConfig
@Stability(Stable) public static final class GkeBackupBackupPlanBackupConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeBackupBackupPlanBackupConfig>
A builder forGkeBackupBackupPlanBackupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
allNamespaces
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder allNamespaces(Boolean allNamespaces)
Sets the value ofGkeBackupBackupPlanBackupConfig.getAllNamespaces()- Parameters:
allNamespaces- If True, include all namespaced resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#all_namespaces GkeBackupBackupPlan#all_namespaces}- Returns:
this
-
allNamespaces
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder allNamespaces(com.hashicorp.cdktf.IResolvable allNamespaces)
Sets the value ofGkeBackupBackupPlanBackupConfig.getAllNamespaces()- Parameters:
allNamespaces- If True, include all namespaced resources. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#all_namespaces GkeBackupBackupPlan#all_namespaces}- Returns:
this
-
encryptionKey
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder encryptionKey(GkeBackupBackupPlanBackupConfigEncryptionKey encryptionKey)
Sets the value ofGkeBackupBackupPlanBackupConfig.getEncryptionKey()- Parameters:
encryptionKey- encryption_key block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#encryption_key GkeBackupBackupPlan#encryption_key}- Returns:
this
-
includeSecrets
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder includeSecrets(Boolean includeSecrets)
Sets the value ofGkeBackupBackupPlanBackupConfig.getIncludeSecrets()- Parameters:
includeSecrets- This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#include_secrets GkeBackupBackupPlan#include_secrets}- Returns:
this
-
includeSecrets
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder includeSecrets(com.hashicorp.cdktf.IResolvable includeSecrets)
Sets the value ofGkeBackupBackupPlanBackupConfig.getIncludeSecrets()- Parameters:
includeSecrets- This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#include_secrets GkeBackupBackupPlan#include_secrets}- Returns:
this
-
includeVolumeData
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder includeVolumeData(Boolean includeVolumeData)
Sets the value ofGkeBackupBackupPlanBackupConfig.getIncludeVolumeData()- Parameters:
includeVolumeData- This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#include_volume_data GkeBackupBackupPlan#include_volume_data}- Returns:
this
-
includeVolumeData
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder includeVolumeData(com.hashicorp.cdktf.IResolvable includeVolumeData)
Sets the value ofGkeBackupBackupPlanBackupConfig.getIncludeVolumeData()- Parameters:
includeVolumeData- This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#include_volume_data GkeBackupBackupPlan#include_volume_data}- Returns:
this
-
permissiveMode
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder permissiveMode(Boolean permissiveMode)
Sets the value ofGkeBackupBackupPlanBackupConfig.getPermissiveMode()- Parameters:
permissiveMode- This flag specifies whether Backups will not fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#permissive_mode GkeBackupBackupPlan#permissive_mode}- Returns:
this
-
permissiveMode
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder permissiveMode(com.hashicorp.cdktf.IResolvable permissiveMode)
Sets the value ofGkeBackupBackupPlanBackupConfig.getPermissiveMode()- Parameters:
permissiveMode- This flag specifies whether Backups will not fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#permissive_mode GkeBackupBackupPlan#permissive_mode}- Returns:
this
-
selectedApplications
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder selectedApplications(GkeBackupBackupPlanBackupConfigSelectedApplications selectedApplications)
Sets the value ofGkeBackupBackupPlanBackupConfig.getSelectedApplications()- Parameters:
selectedApplications- selected_applications block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#selected_applications GkeBackupBackupPlan#selected_applications}- Returns:
this
-
selectedNamespaces
@Stability(Stable) public GkeBackupBackupPlanBackupConfig.Builder selectedNamespaces(GkeBackupBackupPlanBackupConfigSelectedNamespaces selectedNamespaces)
Sets the value ofGkeBackupBackupPlanBackupConfig.getSelectedNamespaces()- Parameters:
selectedNamespaces- selected_namespaces block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#selected_namespaces GkeBackupBackupPlan#selected_namespaces}- Returns:
this
-
build
@Stability(Stable) public GkeBackupBackupPlanBackupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeBackupBackupPlanBackupConfig>- Returns:
- a new instance of
GkeBackupBackupPlanBackupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-