Class OsConfigPatchDeploymentPatchConfigYum.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentPatchConfigYum.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigYum>
- Enclosing interface:
- OsConfigPatchDeploymentPatchConfigYum
@Stability(Stable) public static final class OsConfigPatchDeploymentPatchConfigYum.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigYum>
A builder forOsConfigPatchDeploymentPatchConfigYum
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
excludes
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder excludes(List<String> excludes)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getExcludes()- Parameters:
excludes- List of packages to exclude from update. These packages will be excluded. 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
-
exclusivePackages
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder exclusivePackages(List<String> exclusivePackages)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getExclusivePackages()- Parameters:
exclusivePackages- An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified 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_packages OsConfigPatchDeployment#exclusive_packages}- Returns:
this
-
minimal
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder minimal(Boolean minimal)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getMinimal()- Parameters:
minimal- Will cause patch to run yum update-minimal instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#minimal OsConfigPatchDeployment#minimal}- Returns:
this
-
minimal
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder minimal(com.hashicorp.cdktf.IResolvable minimal)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getMinimal()- Parameters:
minimal- Will cause patch to run yum update-minimal instead. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#minimal OsConfigPatchDeployment#minimal}- Returns:
this
-
security
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder security(Boolean security)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getSecurity()- Parameters:
security- Adds the --security flag to yum update. Not supported on all platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#security OsConfigPatchDeployment#security}- Returns:
this
-
security
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum.Builder security(com.hashicorp.cdktf.IResolvable security)
Sets the value ofOsConfigPatchDeploymentPatchConfigYum.getSecurity()- Parameters:
security- Adds the --security flag to yum update. Not supported on all platforms. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#security OsConfigPatchDeployment#security}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigYum build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigYum>- Returns:
- a new instance of
OsConfigPatchDeploymentPatchConfigYum - Throws:
NullPointerException- if any required attribute was not provided
-
-