ScriptReference Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ScriptReference
- com.
Implements
public final class ScriptReference
implements JsonSerializable<ScriptReference>
Script reference.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptReference() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
| String |
scriptArguments()
Get the script |
| String |
scriptData()
Get the script |
| String |
scriptSource()
Get the script |
| String |
timeout()
Get the timeout property: Optional time period passed to timeout command. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Script |
withScriptArguments(String scriptArguments)
Set the script |
|
Script |
withScriptData(String scriptData)
Set the script |
|
Script |
withScriptSource(String scriptSource)
Set the script |
|
Script |
withTimeout(String timeout)
Set the timeout property: Optional time period passed to timeout command. |
Methods inherited from java.lang.Object
Constructor Details
ScriptReference
public ScriptReference()
Creates an instance of ScriptReference class.
Method Details
fromJson
public static ScriptReference fromJson(JsonReader jsonReader)
Reads an instance of ScriptReference from the JsonReader.
Parameters:
Returns:
Throws:
scriptArguments
public String scriptArguments()
Get the scriptArguments property: Optional command line arguments passed to the script to run.
Returns:
scriptData
public String scriptData()
Get the scriptData property: The location of scripts in the mounted volume.
Returns:
scriptSource
public String scriptSource()
Get the scriptSource property: The storage source of the script: workspace.
Returns:
timeout
public String timeout()
Get the timeout property: Optional time period passed to timeout command.
Returns:
toJson
validate
public void validate()
Validates the instance.
withScriptArguments
public ScriptReference withScriptArguments(String scriptArguments)
Set the scriptArguments property: Optional command line arguments passed to the script to run.
Parameters:
Returns:
withScriptData
public ScriptReference withScriptData(String scriptData)
Set the scriptData property: The location of scripts in the mounted volume.
Parameters:
Returns:
withScriptSource
public ScriptReference withScriptSource(String scriptSource)
Set the scriptSource property: The storage source of the script: workspace.
Parameters:
Returns:
withTimeout
public ScriptReference withTimeout(String timeout)
Set the timeout property: Optional time period passed to timeout command.
Parameters:
Returns: