Class AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows>
- Enclosing interface:
- AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows
@Stability(Stable) public static final class AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows>
A builder forAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsbuild()Builds the configured instance.AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builderday(String day)Sets the value ofAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.getDay()AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.BuilderstartTime(AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTime startTime)Sets the value ofAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.getStartTime()
-
-
-
Method Detail
-
day
@Stability(Stable) public AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builder day(String day)
Sets the value ofAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.getDay()- Parameters:
day- Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#day AlloydbCluster#day}- Returns:
this
-
startTime
@Stability(Stable) public AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.Builder startTime(AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindowsStartTime startTime)
Sets the value ofAlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows.getStartTime()- Parameters:
startTime- start_time 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_time AlloydbCluster#start_time}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows>- Returns:
- a new instance of
AlloydbClusterMaintenanceUpdatePolicyMaintenanceWindows - Throws:
NullPointerException- if any required attribute was not provided
-
-