Class OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth>
- Enclosing interface:
- OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth
@Stability(Stable) public static final class OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonthbuild()Builds the configured instance.OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.BuilderdayOffset(Number dayOffset)OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.BuilderdayOfWeek(String dayOfWeek)OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.BuilderweekOrdinal(Number weekOrdinal)
-
-
-
Method Detail
-
dayOfWeek
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder dayOfWeek(String dayOfWeek)
- Parameters:
dayOfWeek- A day of the week. 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/os_config_patch_deployment#day_of_week OsConfigPatchDeployment#day_of_week}- Returns:
this
-
weekOrdinal
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder weekOrdinal(Number weekOrdinal)
- Parameters:
weekOrdinal- Week number in a month. This parameter is required. 1-4 indicates the 1st to 4th week of the month. -1 indicates the last week of the month. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#week_ordinal OsConfigPatchDeployment#week_ordinal}- Returns:
this
-
dayOffset
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth.Builder dayOffset(Number dayOffset)
- Parameters:
dayOffset- Represents the number of days before or after the given week day of month that the patch deployment is scheduled for. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#day_offset OsConfigPatchDeployment#day_offset}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth>- Returns:
- a new instance of
OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth - Throws:
NullPointerException- if any required attribute was not provided
-
-