Class OsConfigPatchDeploymentPatchConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentPatchConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfig>
- Enclosing interface:
- OsConfigPatchDeploymentPatchConfig
@Stability(Stable) public static final class OsConfigPatchDeploymentPatchConfig.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfig>
A builder forOsConfigPatchDeploymentPatchConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
apt
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder apt(OsConfigPatchDeploymentPatchConfigApt apt)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getApt()- Parameters:
apt- apt block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#apt OsConfigPatchDeployment#apt}- Returns:
this
-
goo
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder goo(OsConfigPatchDeploymentPatchConfigGoo goo)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getGoo()- Parameters:
goo- goo block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#goo OsConfigPatchDeployment#goo}- Returns:
this
-
migInstancesAllowed
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder migInstancesAllowed(Boolean migInstancesAllowed)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getMigInstancesAllowed()- Parameters:
migInstancesAllowed- Allows the patch job to run on Managed instance groups (MIGs). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#mig_instances_allowed OsConfigPatchDeployment#mig_instances_allowed}- Returns:
this
-
migInstancesAllowed
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder migInstancesAllowed(com.hashicorp.cdktf.IResolvable migInstancesAllowed)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getMigInstancesAllowed()- Parameters:
migInstancesAllowed- Allows the patch job to run on Managed instance groups (MIGs). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#mig_instances_allowed OsConfigPatchDeployment#mig_instances_allowed}- Returns:
this
-
postStep
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder postStep(OsConfigPatchDeploymentPatchConfigPostStep postStep)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getPostStep()- Parameters:
postStep- post_step block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#post_step OsConfigPatchDeployment#post_step}- Returns:
this
-
preStep
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder preStep(OsConfigPatchDeploymentPatchConfigPreStep preStep)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getPreStep()- Parameters:
preStep- pre_step block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#pre_step OsConfigPatchDeployment#pre_step}- Returns:
this
-
rebootConfig
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder rebootConfig(String rebootConfig)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getRebootConfig()- Parameters:
rebootConfig- Post-patch reboot settings. Possible values: ["DEFAULT", "ALWAYS", "NEVER"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#reboot_config OsConfigPatchDeployment#reboot_config}- Returns:
this
-
windowsUpdate
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder windowsUpdate(OsConfigPatchDeploymentPatchConfigWindowsUpdate windowsUpdate)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getWindowsUpdate()- Parameters:
windowsUpdate- windows_update block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#windows_update OsConfigPatchDeployment#windows_update}- Returns:
this
-
yum
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder yum(OsConfigPatchDeploymentPatchConfigYum yum)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getYum()- Parameters:
yum- yum block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#yum OsConfigPatchDeployment#yum}- Returns:
this
-
zypper
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig.Builder zypper(OsConfigPatchDeploymentPatchConfigZypper zypper)
Sets the value ofOsConfigPatchDeploymentPatchConfig.getZypper()- Parameters:
zypper- zypper block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#zypper OsConfigPatchDeployment#zypper}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentPatchConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfig>- Returns:
- a new instance of
OsConfigPatchDeploymentPatchConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-