Class UpdateRunObjectStoreScriptUserDefinedStepDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.UpdateRunObjectStoreScriptUserDefinedStepDetails.Builder
-
- Enclosing class:
- UpdateRunObjectStoreScriptUserDefinedStepDetails
public static class UpdateRunObjectStoreScriptUserDefinedStepDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRunObjectStoreScriptUserDefinedStepDetailsbuild()UpdateRunObjectStoreScriptUserDefinedStepDetails.Buildercopy(UpdateRunObjectStoreScriptUserDefinedStepDetails model)UpdateRunObjectStoreScriptUserDefinedStepDetails.BuilderobjectStorageScriptLocation(UpdateObjectStorageScriptLocationDetails objectStorageScriptLocation)UpdateRunObjectStoreScriptUserDefinedStepDetails.BuilderrunAsUser(String runAsUser)The user ID on the instance that will be used to execute the script specified in ‘scriptCommand’.UpdateRunObjectStoreScriptUserDefinedStepDetails.BuilderrunOnInstanceId(String runOnInstanceId)The OCID of the instance on which this script or command should be executed.UpdateRunObjectStoreScriptUserDefinedStepDetails.BuilderscriptCommand(String scriptCommand)The entire path and arguments for the script that is stored in object store, or inside a compressed archive in object store.
-
-
-
Method Detail
-
runOnInstanceId
public UpdateRunObjectStoreScriptUserDefinedStepDetails.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
- Parameters:
runOnInstanceId- the value to set- Returns:
- this builder
-
objectStorageScriptLocation
public UpdateRunObjectStoreScriptUserDefinedStepDetails.Builder objectStorageScriptLocation(UpdateObjectStorageScriptLocationDetails objectStorageScriptLocation)
-
scriptCommand
public UpdateRunObjectStoreScriptUserDefinedStepDetails.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 UpdateRunObjectStoreScriptUserDefinedStepDetails.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 UpdateRunObjectStoreScriptUserDefinedStepDetails build()
-
copy
public UpdateRunObjectStoreScriptUserDefinedStepDetails.Builder copy(UpdateRunObjectStoreScriptUserDefinedStepDetails model)
-
-