Class TaskRunUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.TaskRunUpdateParameters
-
public final class TaskRunUpdateParameters extends Object
The parameters for updating a task run.
-
-
Constructor Summary
Constructors Constructor Description TaskRunUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringforceUpdateTag()Get the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.IdentityPropertiesidentity()Get the identity property: Identity for the resource.Stringlocation()Get the location property: The location of the resource.RunRequestrunRequest()Get the runRequest property: The request (parameters) for the new run.Map<String,String>tags()Get the tags property: The ARM resource tags.voidvalidate()Validates the instance.TaskRunUpdateParameterswithForceUpdateTag(String forceUpdateTag)Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.TaskRunUpdateParameterswithIdentity(IdentityProperties identity)Set the identity property: Identity for the resource.TaskRunUpdateParameterswithLocation(String location)Set the location property: The location of the resource.TaskRunUpdateParameterswithRunRequest(RunRequest runRequest)Set the runRequest property: The request (parameters) for the new run.TaskRunUpdateParameterswithTags(Map<String,String> tags)Set the tags property: The ARM resource tags.
-
-
-
Method Detail
-
identity
public IdentityProperties identity()
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
public TaskRunUpdateParameters withIdentity(IdentityProperties identity)
Set the identity property: Identity for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the TaskRunUpdateParameters object itself.
-
location
public String location()
Get the location property: The location of the resource.- Returns:
- the location value.
-
withLocation
public TaskRunUpdateParameters withLocation(String location)
Set the location property: The location of the resource.- Parameters:
location- the location value to set.- Returns:
- the TaskRunUpdateParameters object itself.
-
tags
public Map<String,String> tags()
Get the tags property: The ARM resource tags.- Returns:
- the tags value.
-
withTags
public TaskRunUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The ARM resource tags.- Parameters:
tags- the tags value to set.- Returns:
- the TaskRunUpdateParameters object itself.
-
runRequest
public RunRequest runRequest()
Get the runRequest property: The request (parameters) for the new run.- Returns:
- the runRequest value.
-
withRunRequest
public TaskRunUpdateParameters withRunRequest(RunRequest runRequest)
Set the runRequest property: The request (parameters) for the new run.- Parameters:
runRequest- the runRequest value to set.- Returns:
- the TaskRunUpdateParameters object itself.
-
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:
- the forceUpdateTag value.
-
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:
forceUpdateTag- the forceUpdateTag value to set.- Returns:
- the TaskRunUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-