Class OsConfigPatchDeploymentRecurringScheduleMonthly.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentRecurringScheduleMonthly.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthly>
- Enclosing interface:
- OsConfigPatchDeploymentRecurringScheduleMonthly
@Stability(Stable) public static final class OsConfigPatchDeploymentRecurringScheduleMonthly.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthly>
A builder forOsConfigPatchDeploymentRecurringScheduleMonthly
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentRecurringScheduleMonthlybuild()Builds the configured instance.OsConfigPatchDeploymentRecurringScheduleMonthly.BuildermonthDay(Number monthDay)Sets the value ofOsConfigPatchDeploymentRecurringScheduleMonthly.getMonthDay()OsConfigPatchDeploymentRecurringScheduleMonthly.BuilderweekDayOfMonth(OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth weekDayOfMonth)Sets the value ofOsConfigPatchDeploymentRecurringScheduleMonthly.getWeekDayOfMonth()
-
-
-
Method Detail
-
monthDay
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthly.Builder monthDay(Number monthDay)
Sets the value ofOsConfigPatchDeploymentRecurringScheduleMonthly.getMonthDay()- Parameters:
monthDay- One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#month_day OsConfigPatchDeployment#month_day}- Returns:
this
-
weekDayOfMonth
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthly.Builder weekDayOfMonth(OsConfigPatchDeploymentRecurringScheduleMonthlyWeekDayOfMonth weekDayOfMonth)
Sets the value ofOsConfigPatchDeploymentRecurringScheduleMonthly.getWeekDayOfMonth()- Parameters:
weekDayOfMonth- week_day_of_month block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#week_day_of_month OsConfigPatchDeployment#week_day_of_month}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentRecurringScheduleMonthly build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringScheduleMonthly>- Returns:
- a new instance of
OsConfigPatchDeploymentRecurringScheduleMonthly - Throws:
NullPointerException- if any required attribute was not provided
-
-