public class SetupTask extends Object
| Constructor and Description | 
|---|
SetupTask()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
commandLine()
Get the command line to be executed on each cluster's node after it being allocated or rebooted. 
 | 
List<EnvironmentVariable> | 
environmentVariables()
Get a collection of user defined environment variables to be set for setup task. 
 | 
List<EnvironmentVariableWithSecretValue> | 
secrets()
Get a collection of user defined environment variables with secret values to be set for the setup task. 
 | 
String | 
stdOutErrPathPrefix()
Get the prefix of a path where the Batch AI service will upload the stdout, stderr and execution log of the setup task. 
 | 
String | 
stdOutErrPathSuffix()
Get a path segment appended by Batch AI to stdOutErrPathPrefix to form a path where stdout, stderr and execution log of the setup task will be uploaded. 
 | 
SetupTask | 
withCommandLine(String commandLine)
Set the command line to be executed on each cluster's node after it being allocated or rebooted. 
 | 
SetupTask | 
withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
Set a collection of user defined environment variables to be set for setup task. 
 | 
SetupTask | 
withSecrets(List<EnvironmentVariableWithSecretValue> secrets)
Set a collection of user defined environment variables with secret values to be set for the setup task. 
 | 
SetupTask | 
withStdOutErrPathPrefix(String stdOutErrPathPrefix)
Set the prefix of a path where the Batch AI service will upload the stdout, stderr and execution log of the setup task. 
 | 
public String commandLine()
public SetupTask withCommandLine(String commandLine)
commandLine - the commandLine value to setpublic List<EnvironmentVariable> environmentVariables()
public SetupTask withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)
environmentVariables - the environmentVariables value to setpublic List<EnvironmentVariableWithSecretValue> secrets()
public SetupTask withSecrets(List<EnvironmentVariableWithSecretValue> secrets)
secrets - the secrets value to setpublic String stdOutErrPathPrefix()
public SetupTask withStdOutErrPathPrefix(String stdOutErrPathPrefix)
stdOutErrPathPrefix - the stdOutErrPathPrefix value to setpublic String stdOutErrPathSuffix()
Copyright © 2019. All rights reserved.