Class ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_resource_policy.ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule>
- Enclosing interface:
- ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule
@Stability(Stable) public static final class ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Builder extends Object implements software.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedulebuild()Builds the configured instance.ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.BuilderhoursInCycle(Number hoursInCycle)ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.BuilderstartTime(String startTime)
-
-
-
Method Detail
-
hoursInCycle
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Builder hoursInCycle(Number hoursInCycle)
Sets the value ofComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.getHoursInCycle()- Parameters:
hoursInCycle- The number of hours between snapshots. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#hours_in_cycle ComputeResourcePolicy#hours_in_cycle}- Returns:
this
-
startTime
@Stability(Stable) public ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.Builder startTime(String startTime)
- Parameters:
startTime- Time within the window to start the operations. This parameter is required. It must be in an hourly format "HH:MM", where HH : [00-23] and MM : [00] GMT. eg: 21:00 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 ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule>- Returns:
- a new instance of
ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-