public class TaskUpdateParameters extends Object
| Constructor | Description |
|---|---|
TaskUpdateParameters() |
| Modifier and Type | Method | Description |
|---|---|---|
AgentProperties |
agentConfiguration() |
Get the machine configuration of the run agent.
|
PlatformUpdateParameters |
platform() |
Get the platform properties against which the run has to happen.
|
TaskStatus |
status() |
Get the current status of task.
|
TaskStepUpdateParameters |
step() |
Get the properties for updating a task step.
|
Map<String,String> |
tags() |
Get the ARM resource tags.
|
Integer |
timeout() |
Get run timeout in seconds.
|
TriggerUpdateParameters |
trigger() |
Get the properties for updating trigger properties.
|
TaskUpdateParameters |
withAgentConfiguration(AgentProperties agentConfiguration) |
Set the machine configuration of the run agent.
|
TaskUpdateParameters |
withPlatform(PlatformUpdateParameters platform) |
Set the platform properties against which the run has to happen.
|
TaskUpdateParameters |
withStatus(TaskStatus status) |
Set the current status of task.
|
TaskUpdateParameters |
withStep(TaskStepUpdateParameters step) |
Set the properties for updating a task step.
|
TaskUpdateParameters |
withTags(Map<String,String> tags) |
Set the ARM resource tags.
|
TaskUpdateParameters |
withTimeout(Integer timeout) |
Set run timeout in seconds.
|
TaskUpdateParameters |
withTrigger(TriggerUpdateParameters trigger) |
Set the properties for updating trigger properties.
|
public TaskStatus status()
public TaskUpdateParameters withStatus(TaskStatus status)
status - the status value to setpublic PlatformUpdateParameters platform()
public TaskUpdateParameters withPlatform(PlatformUpdateParameters platform)
platform - the platform value to setpublic AgentProperties agentConfiguration()
public TaskUpdateParameters withAgentConfiguration(AgentProperties agentConfiguration)
agentConfiguration - the agentConfiguration value to setpublic Integer timeout()
public TaskUpdateParameters withTimeout(Integer timeout)
timeout - the timeout value to setpublic TaskStepUpdateParameters step()
public TaskUpdateParameters withStep(TaskStepUpdateParameters step)
step - the step value to setpublic TriggerUpdateParameters trigger()
public TaskUpdateParameters withTrigger(TriggerUpdateParameters trigger)
trigger - the trigger value to setpublic TaskUpdateParameters withTags(Map<String,String> tags)
tags - the tags value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/