Class OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_os_policy_assignment.OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentRolloutDisruptionBudget>
- Enclosing interface:
- OsConfigOsPolicyAssignmentRolloutDisruptionBudget
@Stability(Stable) public static final class OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builder extends Object implements software.amazon.jsii.Builder<OsConfigOsPolicyAssignmentRolloutDisruptionBudget>
A builder forOsConfigOsPolicyAssignmentRolloutDisruptionBudget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigOsPolicyAssignmentRolloutDisruptionBudgetbuild()Builds the configured instance.OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builderfixed(Number fixed)Sets the value ofOsConfigOsPolicyAssignmentRolloutDisruptionBudget.getFixed()OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builderpercent(Number percent)Sets the value ofOsConfigOsPolicyAssignmentRolloutDisruptionBudget.getPercent()
-
-
-
Method Detail
-
fixed
@Stability(Stable) public OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builder fixed(Number fixed)
Sets the value ofOsConfigOsPolicyAssignmentRolloutDisruptionBudget.getFixed()- Parameters:
fixed- Specifies a fixed value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#fixed OsConfigOsPolicyAssignment#fixed}- Returns:
this
-
percent
@Stability(Stable) public OsConfigOsPolicyAssignmentRolloutDisruptionBudget.Builder percent(Number percent)
Sets the value ofOsConfigOsPolicyAssignmentRolloutDisruptionBudget.getPercent()- Parameters:
percent- Specifies the relative value defined as a percentage, which will be multiplied by a reference value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_os_policy_assignment#percent OsConfigOsPolicyAssignment#percent}- Returns:
this
-
build
@Stability(Stable) public OsConfigOsPolicyAssignmentRolloutDisruptionBudget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigOsPolicyAssignmentRolloutDisruptionBudget>- Returns:
- a new instance of
OsConfigOsPolicyAssignmentRolloutDisruptionBudget - Throws:
NullPointerException- if any required attribute was not provided
-
-