Package com.pulumi.gcp.osconfig.inputs
Class OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder
-
- Enclosing class:
- OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs
public static final class OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs defaults)
-
-
Method Detail
-
args
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder args(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> args)
- Parameters:
args
- Optional arguments to pass to the source during execution.- Returns:
- builder
-
args
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder args(java.util.List<java.lang.String> args)
- Parameters:
args
- Optional arguments to pass to the source during execution.- Returns:
- builder
-
args
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder args(java.lang.String... args)
- Parameters:
args
- Optional arguments to pass to the source during execution.- Returns:
- builder
-
file
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder file(@Nullable com.pulumi.core.Output<OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFileArgs> file)
- Parameters:
file
- A remote or local file. Structure is documented below.- Returns:
- builder
-
file
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder file(OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceFileArgs file)
- Parameters:
file
- A remote or local file. Structure is documented below.- Returns:
- builder
-
interpreter
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder interpreter(com.pulumi.core.Output<java.lang.String> interpreter)
- Parameters:
interpreter
- The script interpreter to use. Possible values are: `INTERPRETER_UNSPECIFIED`, `NONE`, `SHELL`, `POWERSHELL`.- Returns:
- builder
-
interpreter
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder interpreter(java.lang.String interpreter)
- Parameters:
interpreter
- The script interpreter to use. Possible values are: `INTERPRETER_UNSPECIFIED`, `NONE`, `SHELL`, `POWERSHELL`.- Returns:
- builder
-
outputFilePath
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder outputFilePath(@Nullable com.pulumi.core.Output<java.lang.String> outputFilePath)
- Parameters:
outputFilePath
- Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.- Returns:
- builder
-
outputFilePath
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder outputFilePath(java.lang.String outputFilePath)
- Parameters:
outputFilePath
- Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.- Returns:
- builder
-
script
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder script(@Nullable com.pulumi.core.Output<java.lang.String> script)
- Parameters:
script
- An inline script. The size of the script is limited to 1024 characters.- Returns:
- builder
-
script
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs.Builder script(java.lang.String script)
- Parameters:
script
- An inline script. The size of the script is limited to 1024 characters.- Returns:
- builder
-
build
public OsPolicyAssignmentOsPolicyResourceGroupResourceExecEnforceArgs build()
-
-