Class OsConfigPatchDeploymentRollout.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentRollout.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentRollout>
- Enclosing interface:
- OsConfigPatchDeploymentRollout
@Stability(Stable) public static final class OsConfigPatchDeploymentRollout.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentRollout>
A builder forOsConfigPatchDeploymentRollout
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentRolloutbuild()Builds the configured instance.OsConfigPatchDeploymentRollout.BuilderdisruptionBudget(OsConfigPatchDeploymentRolloutDisruptionBudget disruptionBudget)Sets the value ofOsConfigPatchDeploymentRollout.getDisruptionBudget()OsConfigPatchDeploymentRollout.Buildermode(String mode)Sets the value ofOsConfigPatchDeploymentRollout.getMode()
-
-
-
Method Detail
-
disruptionBudget
@Stability(Stable) public OsConfigPatchDeploymentRollout.Builder disruptionBudget(OsConfigPatchDeploymentRolloutDisruptionBudget disruptionBudget)
Sets the value ofOsConfigPatchDeploymentRollout.getDisruptionBudget()- Parameters:
disruptionBudget- disruption_budget block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#disruption_budget OsConfigPatchDeployment#disruption_budget}- Returns:
this
-
mode
@Stability(Stable) public OsConfigPatchDeploymentRollout.Builder mode(String mode)
Sets the value ofOsConfigPatchDeploymentRollout.getMode()- Parameters:
mode- Mode of the patch rollout. Possible values: ["ZONE_BY_ZONE", "CONCURRENT_ZONES"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#mode OsConfigPatchDeployment#mode}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentRollout build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentRollout>- Returns:
- a new instance of
OsConfigPatchDeploymentRollout - Throws:
NullPointerException- if any required attribute was not provided
-
-