Package com.pulumi.gcp.osconfig.inputs
Class PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.inputs.PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder
-
- Enclosing class:
- PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs
public static final class PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs defaults)
-
-
Method Detail
-
allowedSuccessCodes
public PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder gcsObject(@Nullable com.pulumi.core.Output<PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectArgs> gcsObject)
- Parameters:
gcsObject
- A Cloud Storage object containing the executable. Structure is documented below.- Returns:
- builder
-
gcsObject
public PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder gcsObject(PatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectArgs gcsObject)
- Parameters:
gcsObject
- A Cloud Storage object containing the executable. Structure is documented below.- Returns:
- builder
-
interpreter
public PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.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 PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs.Builder localPath(java.lang.String localPath)
- Parameters:
localPath
- An absolute path to the executable on the VM.- Returns:
- builder
-
build
public PatchDeploymentPatchConfigPreStepLinuxExecStepConfigArgs build()
-
-