Class ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_resource_policy.ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicySchedule>
- Enclosing interface:
- ComputeResourcePolicySnapshotSchedulePolicySchedule
@Stability(Stable) public static final class ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder extends Object implements software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicySchedule>
A builder forComputeResourcePolicySnapshotSchedulePolicySchedule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeResourcePolicySnapshotSchedulePolicySchedulebuild()Builds the configured instance.ComputeResourcePolicySnapshotSchedulePolicySchedule.BuilderdailySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule dailySchedule)Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getDailySchedule()ComputeResourcePolicySnapshotSchedulePolicySchedule.BuilderhourlySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule hourlySchedule)Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getHourlySchedule()ComputeResourcePolicySnapshotSchedulePolicySchedule.BuilderweeklySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule weeklySchedule)Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getWeeklySchedule()
-
-
-
Method Detail
-
dailySchedule
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder dailySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule dailySchedule)
Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getDailySchedule()- Parameters:
dailySchedule- daily_schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#daily_schedule ComputeResourcePolicy#daily_schedule}- Returns:
this
-
hourlySchedule
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder hourlySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule hourlySchedule)
Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getHourlySchedule()- Parameters:
hourlySchedule- hourly_schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#hourly_schedule ComputeResourcePolicy#hourly_schedule}- Returns:
this
-
weeklySchedule
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicySchedule.Builder weeklySchedule(ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule weeklySchedule)
Sets the value ofComputeResourcePolicySnapshotSchedulePolicySchedule.getWeeklySchedule()- Parameters:
weeklySchedule- weekly_schedule block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#weekly_schedule ComputeResourcePolicy#weekly_schedule}- Returns:
this
-
build
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicySchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicySchedule>- Returns:
- a new instance of
ComputeResourcePolicySnapshotSchedulePolicySchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-