public static class UpdateRunLocalScriptUserDefinedStepDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateRunLocalScriptUserDefinedStepDetails |
build() |
UpdateRunLocalScriptUserDefinedStepDetails.Builder |
copy(UpdateRunLocalScriptUserDefinedStepDetails model) |
UpdateRunLocalScriptUserDefinedStepDetails.Builder |
runAsUser(String runAsUser)
The userid on the instance to be used for executing the script or command.
|
UpdateRunLocalScriptUserDefinedStepDetails.Builder |
runOnInstanceId(String runOnInstanceId)
The OCID of the instance on which this script or command should be executed.
|
UpdateRunLocalScriptUserDefinedStepDetails.Builder |
scriptCommand(String scriptCommand)
The script name and arguments.
|
public UpdateRunLocalScriptUserDefinedStepDetails.Builder runOnInstanceId(String runOnInstanceId)
The OCID of the instance on which this script or command should be executed.
*For moving instances:** *runOnInstanceId* must be the OCID of the instance in the region where the instance is currently present.
*For non-moving instances:** *runOnInstanceId* must be the OCID of the non-moving instance.
Example: ocid1.instance.oc1..uniqueID
runOnInstanceId
- the value to setpublic UpdateRunLocalScriptUserDefinedStepDetails.Builder scriptCommand(String scriptCommand)
The script name and arguments.
Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
scriptCommand
- the value to setpublic UpdateRunLocalScriptUserDefinedStepDetails.Builder runAsUser(String runAsUser)
The userid on the instance to be used for executing the script or command.
Example: opc
runAsUser
- the value to setpublic UpdateRunLocalScriptUserDefinedStepDetails build()
public UpdateRunLocalScriptUserDefinedStepDetails.Builder copy(UpdateRunLocalScriptUserDefinedStepDetails model)
Copyright © 2016–2024. All rights reserved.