Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.batchai; import com.fasterxml.jackson.annotation.JsonProperty;
Caffe2 job settings.
/** * Caffe2 job settings. */
public class Caffe2Settings {
Python script file path. The python script to execute.
/** * Python script file path. * The python script to execute. */
@JsonProperty(value = "pythonScriptFilePath", required = true) private String pythonScriptFilePath;
Python interpreter path. The path to the Python interpreter.
/** * Python interpreter path. * The path to the Python interpreter. */
@JsonProperty(value = "pythonInterpreterPath") private String pythonInterpreterPath;
Command line arguments. Command line arguments that need to be passed to the python script.
/** * Command line arguments. * Command line arguments that need to be passed to the python script. */
@JsonProperty(value = "commandLineArgs") private String commandLineArgs;
Get the python script to execute.
Returns:the pythonScriptFilePath value
/** * Get the python script to execute. * * @return the pythonScriptFilePath value */
public String pythonScriptFilePath() { return this.pythonScriptFilePath; }
Set the python script to execute.
Params:
  • pythonScriptFilePath – the pythonScriptFilePath value to set
Returns:the Caffe2Settings object itself.
/** * Set the python script to execute. * * @param pythonScriptFilePath the pythonScriptFilePath value to set * @return the Caffe2Settings object itself. */
public Caffe2Settings withPythonScriptFilePath(String pythonScriptFilePath) { this.pythonScriptFilePath = pythonScriptFilePath; return this; }
Get the path to the Python interpreter.
Returns:the pythonInterpreterPath value
/** * Get the path to the Python interpreter. * * @return the pythonInterpreterPath value */
public String pythonInterpreterPath() { return this.pythonInterpreterPath; }
Set the path to the Python interpreter.
Params:
  • pythonInterpreterPath – the pythonInterpreterPath value to set
Returns:the Caffe2Settings object itself.
/** * Set the path to the Python interpreter. * * @param pythonInterpreterPath the pythonInterpreterPath value to set * @return the Caffe2Settings object itself. */
public Caffe2Settings withPythonInterpreterPath(String pythonInterpreterPath) { this.pythonInterpreterPath = pythonInterpreterPath; return this; }
Get command line arguments that need to be passed to the python script.
Returns:the commandLineArgs value
/** * Get command line arguments that need to be passed to the python script. * * @return the commandLineArgs value */
public String commandLineArgs() { return this.commandLineArgs; }
Set command line arguments that need to be passed to the python script.
Params:
  • commandLineArgs – the commandLineArgs value to set
Returns:the Caffe2Settings object itself.
/** * Set command line arguments that need to be passed to the python script. * * @param commandLineArgs the commandLineArgs value to set * @return the Caffe2Settings object itself. */
public Caffe2Settings withCommandLineArgs(String commandLineArgs) { this.commandLineArgs = commandLineArgs; return this; } }