Class OsConfigPatchDeploymentPatchConfigZypper.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentPatchConfigZypper.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigZypper>
- Enclosing interface:
- OsConfigPatchDeploymentPatchConfigZypper
@Stability(Stable) public static final class OsConfigPatchDeploymentPatchConfigZypper.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigZypper>
A builder forOsConfigPatchDeploymentPatchConfigZypper
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
categories
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder categories(List<String> categories)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getCategories()- Parameters:
categories- Install only patches with these categories. Common categories include security, recommended, and feature. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#categories OsConfigPatchDeployment#categories}- Returns:
this
-
excludes
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder excludes(List<String> excludes)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getExcludes()- Parameters:
excludes- List of packages 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 OsConfigPatchDeploymentPatchConfigZypper.Builder exclusivePatches(List<String> exclusivePatches)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getExclusivePatches()- Parameters:
exclusivePatches- An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:' command. This field must not be used with any other patch configuration fields. 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
-
severities
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder severities(List<String> severities)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getSeverities()- Parameters:
severities- Install only patches with these severities. Common severities include critical, important, moderate, and low. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#severities OsConfigPatchDeployment#severities}- Returns:
this
-
withOptional
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder withOptional(Boolean withOptional)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getWithOptional()- Parameters:
withOptional- Adds the --with-optional flag to zypper patch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#with_optional OsConfigPatchDeployment#with_optional}- Returns:
this
-
withOptional
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder withOptional(com.hashicorp.cdktf.IResolvable withOptional)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getWithOptional()- Parameters:
withOptional- Adds the --with-optional flag to zypper patch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#with_optional OsConfigPatchDeployment#with_optional}- Returns:
this
-
withUpdate
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder withUpdate(Boolean withUpdate)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getWithUpdate()- Parameters:
withUpdate- Adds the --with-update flag, to zypper patch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#with_update OsConfigPatchDeployment#with_update}- Returns:
this
-
withUpdate
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper.Builder withUpdate(com.hashicorp.cdktf.IResolvable withUpdate)
Sets the value ofOsConfigPatchDeploymentPatchConfigZypper.getWithUpdate()- Parameters:
withUpdate- Adds the --with-update flag, to zypper patch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#with_update OsConfigPatchDeployment#with_update}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigZypper build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigZypper>- Returns:
- a new instance of
OsConfigPatchDeploymentPatchConfigZypper - Throws:
NullPointerException- if any required attribute was not provided
-
-