Class UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder
-
- Enclosing class:
- UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails
public static class UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
runOnInstanceId
public UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder runOnInstanceId(String runOnInstanceId)
The OCID of the instance on which this precjeck 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
- Parameters:
runOnInstanceId- the value to set- Returns:
- this builder
-
objectStorageScriptLocation
public UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder objectStorageScriptLocation(UpdateObjectStorageScriptLocationDetails objectStorageScriptLocation)
-
scriptCommand
public UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder scriptCommand(String scriptCommand)
The entire path and arguments for the script that is stored in object store, or inside a compressed archive in object store.Example: /usr/bin/python3.7 scripts/start_server.py –port 8080 –env “production” –max-connections 200 –log-level “INFO”
- Parameters:
scriptCommand- the value to set- Returns:
- this builder
-
runAsUser
public UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails.Builder runAsUser(String runAsUser)
The user ID on the instance that will be used to execute the script specified in ‘scriptCommand’.Example: opc
- Parameters:
runAsUser- the value to set- Returns:
- this builder
-
build
public UpdateRunObjectStoreScriptUserDefinedCustomPrecheckStepDetails build()
-
-