Class AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyWeeklySchedule>
- Enclosing interface:
- AlloydbClusterAutomatedBackupPolicyWeeklySchedule
@Stability(Stable) public static final class AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyWeeklySchedule>
A builder forAlloydbClusterAutomatedBackupPolicyWeeklySchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterAutomatedBackupPolicyWeeklySchedulebuild()Builds the configured instance.AlloydbClusterAutomatedBackupPolicyWeeklySchedule.BuilderdaysOfWeek(List<String> daysOfWeek)Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getDaysOfWeek()AlloydbClusterAutomatedBackupPolicyWeeklySchedule.BuilderstartTimes(com.hashicorp.cdktf.IResolvable startTimes)Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getStartTimes()AlloydbClusterAutomatedBackupPolicyWeeklySchedule.BuilderstartTimes(List<? extends AlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimes> startTimes)Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getStartTimes()
-
-
-
Method Detail
-
startTimes
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder startTimes(com.hashicorp.cdktf.IResolvable startTimes)
Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getStartTimes()- Parameters:
startTimes- start_times block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#start_times AlloydbCluster#start_times}- Returns:
this
-
startTimes
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder startTimes(List<? extends AlloydbClusterAutomatedBackupPolicyWeeklyScheduleStartTimes> startTimes)
Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getStartTimes()- Parameters:
startTimes- start_times block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#start_times AlloydbCluster#start_times}- Returns:
this
-
daysOfWeek
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyWeeklySchedule.Builder daysOfWeek(List<String> daysOfWeek)
Sets the value ofAlloydbClusterAutomatedBackupPolicyWeeklySchedule.getDaysOfWeek()- Parameters:
daysOfWeek- The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#days_of_week AlloydbCluster#days_of_week}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyWeeklySchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyWeeklySchedule>- Returns:
- a new instance of
AlloydbClusterAutomatedBackupPolicyWeeklySchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-