Class OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.os_config_patch_deployment.OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig>
- Enclosing interface:
- OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig
@Stability(Stable) public static final class OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder extends Object implements software.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.BuilderallowedSuccessCodes(List<? extends Number> allowedSuccessCodes)OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigbuild()Builds the configured instance.OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.BuildergcsObject(OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject gcsObject)OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builderinterpreter(String interpreter)OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.BuilderlocalPath(String localPath)
-
-
-
Method Detail
-
allowedSuccessCodes
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder allowedSuccessCodes(List<? extends Number> allowedSuccessCodes)
Sets the value ofOsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.getAllowedSuccessCodes()- Parameters:
allowedSuccessCodes- Defaults to [0]. A list of possible return values that the execution can return to indicate a success. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#allowed_success_codes OsConfigPatchDeployment#allowed_success_codes}- Returns:
this
-
gcsObject
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder gcsObject(OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject gcsObject)
- Parameters:
gcsObject- gcs_object block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#gcs_object OsConfigPatchDeployment#gcs_object}- Returns:
this
-
interpreter
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder interpreter(String interpreter)
- Parameters:
interpreter- The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with shebang lines. Possible values: ["SHELL", "POWERSHELL"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#interpreter OsConfigPatchDeployment#interpreter}- Returns:
this
-
localPath
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig.Builder localPath(String localPath)
- Parameters:
localPath- An absolute path to the executable on the VM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/os_config_patch_deployment#local_path OsConfigPatchDeployment#local_path}- Returns:
this
-
build
@Stability(Stable) public OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig>- Returns:
- a new instance of
OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-