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;
Job preparation settings.
/** * Job preparation settings. */
public class JobPreparation {
Command line. The command line to execute. If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node.
/** * Command line. * The command line to execute. If containerSettings is specified on the * job, this commandLine will be executed in the same container as job. * Otherwise it will be executed on the node. */
@JsonProperty(value = "commandLine", required = true) private String commandLine;
Get the command line to execute. If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node.
Returns:the commandLine value
/** * Get the command line to execute. If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node. * * @return the commandLine value */
public String commandLine() { return this.commandLine; }
Set the command line to execute. If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node.
Params:
  • commandLine – the commandLine value to set
Returns:the JobPreparation object itself.
/** * Set the command line to execute. If containerSettings is specified on the job, this commandLine will be executed in the same container as job. Otherwise it will be executed on the node. * * @param commandLine the commandLine value to set * @return the JobPreparation object itself. */
public JobPreparation withCommandLine(String commandLine) { this.commandLine = commandLine; return this; } }