Class ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_resource_policy.ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule>
- Enclosing interface:
- ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule
@Stability(Stable) public static final class ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Builder extends Object implements software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedulebuild()Builds the configured instance.ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.BuilderdaysInCycle(Number daysInCycle)ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.BuilderstartTime(String startTime)
-
-
-
Method Detail
-
daysInCycle
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Builder daysInCycle(Number daysInCycle)
- Parameters:
daysInCycle- Defines a schedule with units measured in days. This parameter is required. The value determines how many days pass between the start of each cycle. Days in cycle for snapshot schedule policy must be 1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#days_in_cycle ComputeResourcePolicy#days_in_cycle}- Returns:
this
-
startTime
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.Builder startTime(String startTime)
- Parameters:
startTime- This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. This parameter is required. For example, both 13:00-5 and 08:00 are valid. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#start_time ComputeResourcePolicy#start_time}- Returns:
this
-
build
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule>- Returns:
- a new instance of
ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-