public class StartTask extends Object
Constructor and Description |
---|
StartTask() |
Modifier and Type | Method and Description |
---|---|
String |
commandLine()
Get the commandLine value.
|
TaskContainerSettings |
containerSettings()
Get the containerSettings value.
|
List<EnvironmentSetting> |
environmentSettings()
Get the environmentSettings value.
|
Integer |
maxTaskRetryCount()
Get the maxTaskRetryCount value.
|
List<ResourceFile> |
resourceFiles()
Get the resourceFiles value.
|
UserIdentity |
userIdentity()
Get the userIdentity value.
|
Boolean |
waitForSuccess()
Get the waitForSuccess value.
|
StartTask |
withCommandLine(String commandLine)
Set the commandLine value.
|
StartTask |
withContainerSettings(TaskContainerSettings containerSettings)
Set the containerSettings value.
|
StartTask |
withEnvironmentSettings(List<EnvironmentSetting> environmentSettings)
Set the environmentSettings value.
|
StartTask |
withMaxTaskRetryCount(Integer maxTaskRetryCount)
Set the maxTaskRetryCount value.
|
StartTask |
withResourceFiles(List<ResourceFile> resourceFiles)
Set the resourceFiles value.
|
StartTask |
withUserIdentity(UserIdentity userIdentity)
Set the userIdentity value.
|
StartTask |
withWaitForSuccess(Boolean waitForSuccess)
Set the waitForSuccess value.
|
public String commandLine()
public StartTask withCommandLine(String commandLine)
commandLine
- the commandLine value to setpublic TaskContainerSettings containerSettings()
public StartTask withContainerSettings(TaskContainerSettings containerSettings)
containerSettings
- the containerSettings value to setpublic List<ResourceFile> resourceFiles()
public StartTask withResourceFiles(List<ResourceFile> resourceFiles)
resourceFiles
- the resourceFiles value to setpublic List<EnvironmentSetting> environmentSettings()
public StartTask withEnvironmentSettings(List<EnvironmentSetting> environmentSettings)
environmentSettings
- the environmentSettings value to setpublic UserIdentity userIdentity()
public StartTask withUserIdentity(UserIdentity userIdentity)
userIdentity
- the userIdentity value to setpublic Integer maxTaskRetryCount()
public StartTask withMaxTaskRetryCount(Integer maxTaskRetryCount)
maxTaskRetryCount
- the maxTaskRetryCount value to setpublic Boolean waitForSuccess()
Copyright © 2019. All rights reserved.