Class ScriptReference
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ScriptReference
-
public final class ScriptReference extends Object
Script reference.
-
-
Constructor Summary
Constructors Constructor Description ScriptReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
scriptArguments()
Get the scriptArguments property: Optional command line arguments passed to the script to run.String
scriptData()
Get the scriptData property: The location of scripts in the mounted volume.String
scriptSource()
Get the scriptSource property: The storage source of the script: inline, workspace.String
timeout()
Get the timeout property: Optional time period passed to timeout command.void
validate()
Validates the instance.ScriptReference
withScriptArguments(String scriptArguments)
Set the scriptArguments property: Optional command line arguments passed to the script to run.ScriptReference
withScriptData(String scriptData)
Set the scriptData property: The location of scripts in the mounted volume.ScriptReference
withScriptSource(String scriptSource)
Set the scriptSource property: The storage source of the script: inline, workspace.ScriptReference
withTimeout(String timeout)
Set the timeout property: Optional time period passed to timeout command.
-
-
-
Method Detail
-
scriptSource
public String scriptSource()
Get the scriptSource property: The storage source of the script: inline, workspace.- Returns:
- the scriptSource value.
-
withScriptSource
public ScriptReference withScriptSource(String scriptSource)
Set the scriptSource property: The storage source of the script: inline, workspace.- Parameters:
scriptSource
- the scriptSource value to set.- Returns:
- the ScriptReference object itself.
-
scriptData
public String scriptData()
Get the scriptData property: The location of scripts in the mounted volume.- Returns:
- the scriptData value.
-
withScriptData
public ScriptReference withScriptData(String scriptData)
Set the scriptData property: The location of scripts in the mounted volume.- Parameters:
scriptData
- the scriptData value to set.- Returns:
- the ScriptReference object itself.
-
scriptArguments
public String scriptArguments()
Get the scriptArguments property: Optional command line arguments passed to the script to run.- Returns:
- the scriptArguments value.
-
withScriptArguments
public ScriptReference withScriptArguments(String scriptArguments)
Set the scriptArguments property: Optional command line arguments passed to the script to run.- Parameters:
scriptArguments
- the scriptArguments value to set.- Returns:
- the ScriptReference object itself.
-
timeout
public String timeout()
Get the timeout property: Optional time period passed to timeout command.- Returns:
- the timeout value.
-
withTimeout
public ScriptReference withTimeout(String timeout)
Set the timeout property: Optional time period passed to timeout command.- Parameters:
timeout
- the timeout value to set.- Returns:
- the ScriptReference object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-