Class ScriptsToExecute
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ScriptsToExecute
-
public final class ScriptsToExecute extends Object
Customized setup scripts.
-
-
Constructor Summary
Constructors Constructor Description ScriptsToExecute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptReference
creationScript()
Get the creationScript property: Script that's run only once during provision of the compute.ScriptReference
startupScript()
Get the startupScript property: Script that's run every time the machine starts.void
validate()
Validates the instance.ScriptsToExecute
withCreationScript(ScriptReference creationScript)
Set the creationScript property: Script that's run only once during provision of the compute.ScriptsToExecute
withStartupScript(ScriptReference startupScript)
Set the startupScript property: Script that's run every time the machine starts.
-
-
-
Method Detail
-
startupScript
public ScriptReference startupScript()
Get the startupScript property: Script that's run every time the machine starts.- Returns:
- the startupScript value.
-
withStartupScript
public ScriptsToExecute withStartupScript(ScriptReference startupScript)
Set the startupScript property: Script that's run every time the machine starts.- Parameters:
startupScript
- the startupScript value to set.- Returns:
- the ScriptsToExecute object itself.
-
creationScript
public ScriptReference creationScript()
Get the creationScript property: Script that's run only once during provision of the compute.- Returns:
- the creationScript value.
-
withCreationScript
public ScriptsToExecute withCreationScript(ScriptReference creationScript)
Set the creationScript property: Script that's run only once during provision of the compute.- Parameters:
creationScript
- the creationScript value to set.- Returns:
- the ScriptsToExecute object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-