Class OsConfigPatchDeploymentRolloutDisruptionBudget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentRolloutDisruptionBudget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentRolloutDisruptionBudget>
- Enclosing interface:
- OsConfigPatchDeploymentRolloutDisruptionBudget
@Stability(Stable) public static final class OsConfigPatchDeploymentRolloutDisruptionBudget.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentRolloutDisruptionBudget>
A builder forOsConfigPatchDeploymentRolloutDisruptionBudget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentRolloutDisruptionBudgetbuild()Builds the configured instance.OsConfigPatchDeploymentRolloutDisruptionBudget.Builderfixed(Number fixed)Sets the value ofOsConfigPatchDeploymentRolloutDisruptionBudget.getFixed()OsConfigPatchDeploymentRolloutDisruptionBudget.Builderpercentage(Number percentage)Sets the value ofOsConfigPatchDeploymentRolloutDisruptionBudget.getPercentage()
-
-
-
Method Detail
-
fixed
@Stability(Stable) public OsConfigPatchDeploymentRolloutDisruptionBudget.Builder fixed(Number fixed)
Sets the value ofOsConfigPatchDeploymentRolloutDisruptionBudget.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_patch_deployment#fixed OsConfigPatchDeployment#fixed}- Returns:
this
-
percentage
@Stability(Stable) public OsConfigPatchDeploymentRolloutDisruptionBudget.Builder percentage(Number percentage)
Sets the value ofOsConfigPatchDeploymentRolloutDisruptionBudget.getPercentage()- Parameters:
percentage- 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_patch_deployment#percentage OsConfigPatchDeployment#percentage}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentRolloutDisruptionBudget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentRolloutDisruptionBudget>- Returns:
- a new instance of
OsConfigPatchDeploymentRolloutDisruptionBudget - Throws:
NullPointerException- if any required attribute was not provided
-
-