TaskRunUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. TaskRunUpdateParameters
- com.
Implements
public final class TaskRunUpdateParameters
implements JsonSerializable<TaskRunUpdateParameters>
The parameters for updating a task run.
Constructor Summary
| Constructor | Description |
|---|---|
| TaskRunUpdateParameters() |
Creates an instance of Task |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
forceUpdateTag()
Get the force |
|
static
Task |
fromJson(JsonReader jsonReader)
Reads an instance of Task |
|
Identity |
identity()
Get the identity property: Identity for the resource. |
| String |
location()
Get the location property: The location of the resource. |
|
Run |
runRequest()
Get the run |
| Map<String,String> |
tags()
Get the tags property: The ARM resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Task |
withForceUpdateTag(String forceUpdateTag)
Set the force |
|
Task |
withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource. |
|
Task |
withLocation(String location)
Set the location property: The location of the resource. |
|
Task |
withRunRequest(RunRequest runRequest)
Set the run |
|
Task |
withTags(Map<String,String> tags)
Set the tags property: The ARM resource tags. |
Methods inherited from java.lang.Object
Constructor Details
TaskRunUpdateParameters
public TaskRunUpdateParameters()
Creates an instance of TaskRunUpdateParameters class.
Method Details
forceUpdateTag
public String forceUpdateTag()
Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.
Returns:
fromJson
public static TaskRunUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of TaskRunUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public IdentityProperties identity()
Get the identity property: Identity for the resource.
Returns:
location
public String location()
Get the location property: The location of the resource.
Returns:
runRequest
public RunRequest runRequest()
Get the runRequest property: The request (parameters) for the new run.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The ARM resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withForceUpdateTag
public TaskRunUpdateParameters withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.
Parameters:
Returns:
withIdentity
public TaskRunUpdateParameters withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource.
Parameters:
Returns:
withLocation
public TaskRunUpdateParameters withLocation(String location)
Set the location property: The location of the resource.
Parameters:
Returns:
withRunRequest
public TaskRunUpdateParameters withRunRequest(RunRequest runRequest)
Set the runRequest property: The request (parameters) for the new run.
Parameters:
Returns:
withTags
public TaskRunUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The ARM resource tags.
Parameters:
Returns: