Class GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_backup_restore_plan.GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings>
- Enclosing interface:
- GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings
@Stability(Stable) public static final class GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builder extends Object implements software.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindingsbuild()Builds the configured instance.GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builderpolicy(String policy)GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.BuildervolumeType(String volumeType)
-
-
-
Method Detail
-
policy
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builder policy(String policy)
- Parameters:
policy- Specifies the mechanism to be used to restore this volume data. This parameter is required. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy for more information on each policy option. Possible values: ["RESTORE_VOLUME_DATA_FROM_BACKUP", "REUSE_VOLUME_HANDLE_FROM_BACKUP", "NO_VOLUME_DATA_RESTORATION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#policy GkeBackupRestorePlan#policy}- Returns:
this
-
volumeType
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings.Builder volumeType(String volumeType)
- Parameters:
volumeType- The volume type, as determined by the PVC's bound PV, to apply the policy to. Possible values: ["GCE_PERSISTENT_DISK"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#volume_type GkeBackupRestorePlan#volume_type}- Returns:
this
-
build
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings>- Returns:
- a new instance of
GkeBackupRestorePlanRestoreConfigVolumeDataRestorePolicyBindings - Throws:
NullPointerException- if any required attribute was not provided
-
-