Package com.pulumi.gcp.osconfig.inputs
Class PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder
-
- Enclosing class:
- PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs
public static final class PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs defaults)
-
-
Method Detail
-
allowedSuccessCodes
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder allowedSuccessCodes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.Integer>> allowedSuccessCodes)
- Parameters:
allowedSuccessCodes
- Defaults to [0]. A list of possible return values that the execution can return to indicate a success.- Returns:
- builder
-
allowedSuccessCodes
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder allowedSuccessCodes(java.util.List<java.lang.Integer> allowedSuccessCodes)
- Parameters:
allowedSuccessCodes
- Defaults to [0]. A list of possible return values that the execution can return to indicate a success.- Returns:
- builder
-
allowedSuccessCodes
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder allowedSuccessCodes(java.lang.Integer... allowedSuccessCodes)
- Parameters:
allowedSuccessCodes
- Defaults to [0]. A list of possible return values that the execution can return to indicate a success.- Returns:
- builder
-
gcsObject
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder gcsObject(@Nullable com.pulumi.core.Output<PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectArgs> gcsObject)
- Parameters:
gcsObject
- A Cloud Storage object containing the executable. Structure is documented below.- Returns:
- builder
-
gcsObject
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder gcsObject(PatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectArgs gcsObject)
- Parameters:
gcsObject
- A Cloud Storage object containing the executable. Structure is documented below.- Returns:
- builder
-
interpreter
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder interpreter(@Nullable com.pulumi.core.Output<java.lang.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 are: `SHELL`, `POWERSHELL`.- Returns:
- builder
-
interpreter
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder interpreter(java.lang.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 are: `SHELL`, `POWERSHELL`.- Returns:
- builder
-
localPath
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder localPath(@Nullable com.pulumi.core.Output<java.lang.String> localPath)
- Parameters:
localPath
- An absolute path to the executable on the VM.- Returns:
- builder
-
localPath
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs.Builder localPath(java.lang.String localPath)
- Parameters:
localPath
- An absolute path to the executable on the VM.- Returns:
- builder
-
build
public PatchDeploymentPatchConfigPreStepWindowsExecStepConfigArgs build()
-
-