Class ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_resource_policy.ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule>
- Enclosing interface:
- ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule
@Stability(Stable) public static final class ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.Builder extends Object implements software.amazon.jsii.Builder<ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedulebuild()Builds the configured instance.ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.Builderschedule(String schedule)Sets the value ofComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.getSchedule()
-
-
-
Method Detail
-
schedule
@Stability(Stable) public ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.Builder schedule(String schedule)
Sets the value ofComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.getSchedule()- Parameters:
schedule- Specifies the frequency for the operation, using the unix-cron format. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#schedule ComputeResourcePolicy#schedule}- Returns:
this
-
build
@Stability(Stable) public ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule>- Returns:
- a new instance of
ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule - Throws:
NullPointerException- if any required attribute was not provided
-
-