Class OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigWindowsUpdate>
- Enclosing interface:
- OsConfigPatchDeploymentPatchConfigWindowsUpdate
@Stability(Stable) public static final class OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigWindowsUpdate>
A builder forOsConfigPatchDeploymentPatchConfigWindowsUpdate
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentPatchConfigWindowsUpdatebuild()Builds the configured instance.OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builderclassifications(List<String> classifications)Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getClassifications()OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builderexcludes(List<String> excludes)Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getExcludes()OsConfigPatchDeploymentPatchConfigWindowsUpdate.BuilderexclusivePatches(List<String> exclusivePatches)Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getExclusivePatches()
-
-
-
Method Detail
-
classifications
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder classifications(List<String> classifications)
Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getClassifications()- Parameters:
classifications- Only apply updates of these windows update classifications. If empty, all updates are applied. Possible values: ["CRITICAL", "SECURITY", "DEFINITION", "DRIVER", "FEATURE_PACK", "SERVICE_PACK", "TOOL", "UPDATE_ROLLUP", "UPDATE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#classifications OsConfigPatchDeployment#classifications}- Returns:
this
-
excludes
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder excludes(List<String> excludes)
Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getExcludes()- Parameters:
excludes- List of KBs to exclude from update. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#excludes OsConfigPatchDeployment#excludes}- Returns:
this
-
exclusivePatches
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigWindowsUpdate.Builder exclusivePatches(List<String> exclusivePatches)
Sets the value ofOsConfigPatchDeploymentPatchConfigWindowsUpdate.getExclusivePatches()- Parameters:
exclusivePatches- An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#exclusive_patches OsConfigPatchDeployment#exclusive_patches}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigWindowsUpdate build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigWindowsUpdate>- Returns:
- a new instance of
OsConfigPatchDeploymentPatchConfigWindowsUpdate - Throws:
NullPointerException- if any required attribute was not provided
-
-