Class OsConfigPatchDeploymentRecurringSchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentRecurringSchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringSchedule>
- Enclosing interface:
- OsConfigPatchDeploymentRecurringSchedule
@Stability(Stable) public static final class OsConfigPatchDeploymentRecurringSchedule.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringSchedule>
A builder forOsConfigPatchDeploymentRecurringSchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
timeOfDay
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder timeOfDay(OsConfigPatchDeploymentRecurringScheduleTimeOfDay timeOfDay)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getTimeOfDay()- Parameters:
timeOfDay- time_of_day block. 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#time_of_day OsConfigPatchDeployment#time_of_day}- Returns:
this
-
timeZone
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder timeZone(OsConfigPatchDeploymentRecurringScheduleTimeZone timeZone)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getTimeZone()- Parameters:
timeZone- time_zone block. 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#time_zone OsConfigPatchDeployment#time_zone}- Returns:
this
-
endTime
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder endTime(String endTime)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getEndTime()- Parameters:
endTime- The end time at which a recurring patch deployment schedule is no longer active. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#end_time OsConfigPatchDeployment#end_time}- Returns:
this
-
monthly
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder monthly(OsConfigPatchDeploymentRecurringScheduleMonthly monthly)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getMonthly()- Parameters:
monthly- monthly block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#monthly OsConfigPatchDeployment#monthly}- Returns:
this
-
startTime
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder startTime(String startTime)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getStartTime()- Parameters:
startTime- The time that the recurring schedule becomes effective. Defaults to createTime of the patch deployment. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#start_time OsConfigPatchDeployment#start_time}- Returns:
this
-
weekly
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule.Builder weekly(OsConfigPatchDeploymentRecurringScheduleWeekly weekly)
Sets the value ofOsConfigPatchDeploymentRecurringSchedule.getWeekly()- Parameters:
weekly- weekly block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#weekly OsConfigPatchDeployment#weekly}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentRecurringSchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentRecurringSchedule>- Returns:
- a new instance of
OsConfigPatchDeploymentRecurringSchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-