Class GkeBackupBackupPlanBackupScheduleRpoConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_backup_backup_plan.GkeBackupBackupPlanBackupScheduleRpoConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeBackupBackupPlanBackupScheduleRpoConfig>
- Enclosing interface:
- GkeBackupBackupPlanBackupScheduleRpoConfig
@Stability(Stable) public static final class GkeBackupBackupPlanBackupScheduleRpoConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeBackupBackupPlanBackupScheduleRpoConfig>
A builder forGkeBackupBackupPlanBackupScheduleRpoConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeBackupBackupPlanBackupScheduleRpoConfigbuild()Builds the configured instance.GkeBackupBackupPlanBackupScheduleRpoConfig.BuilderexclusionWindows(com.hashicorp.cdktf.IResolvable exclusionWindows)Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getExclusionWindows()GkeBackupBackupPlanBackupScheduleRpoConfig.BuilderexclusionWindows(List<? extends GkeBackupBackupPlanBackupScheduleRpoConfigExclusionWindows> exclusionWindows)Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getExclusionWindows()GkeBackupBackupPlanBackupScheduleRpoConfig.BuildertargetRpoMinutes(Number targetRpoMinutes)Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getTargetRpoMinutes()
-
-
-
Method Detail
-
targetRpoMinutes
@Stability(Stable) public GkeBackupBackupPlanBackupScheduleRpoConfig.Builder targetRpoMinutes(Number targetRpoMinutes)
Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getTargetRpoMinutes()- Parameters:
targetRpoMinutes- Defines the target RPO for the BackupPlan in minutes, which means the target maximum data loss in time that is acceptable for this BackupPlan. This parameter is required. This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#target_rpo_minutes GkeBackupBackupPlan#target_rpo_minutes}- Returns:
this
-
exclusionWindows
@Stability(Stable) public GkeBackupBackupPlanBackupScheduleRpoConfig.Builder exclusionWindows(com.hashicorp.cdktf.IResolvable exclusionWindows)
Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getExclusionWindows()- Parameters:
exclusionWindows- exclusion_windows block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#exclusion_windows GkeBackupBackupPlan#exclusion_windows}- Returns:
this
-
exclusionWindows
@Stability(Stable) public GkeBackupBackupPlanBackupScheduleRpoConfig.Builder exclusionWindows(List<? extends GkeBackupBackupPlanBackupScheduleRpoConfigExclusionWindows> exclusionWindows)
Sets the value ofGkeBackupBackupPlanBackupScheduleRpoConfig.getExclusionWindows()- Parameters:
exclusionWindows- exclusion_windows block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_backup_plan#exclusion_windows GkeBackupBackupPlan#exclusion_windows}- Returns:
this
-
build
@Stability(Stable) public GkeBackupBackupPlanBackupScheduleRpoConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeBackupBackupPlanBackupScheduleRpoConfig>- Returns:
- a new instance of
GkeBackupBackupPlanBackupScheduleRpoConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-