Class TaskRunPropertiesUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.TaskRunPropertiesUpdateParameters
-
public final class TaskRunPropertiesUpdateParameters extends Object
The properties of a task run update parameters.
-
-
Constructor Summary
Constructors Constructor Description TaskRunPropertiesUpdateParameters()
-
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.RunRequestrunRequest()Get the runRequest property: The request (parameters) for the new run.voidvalidate()Validates the instance.TaskRunPropertiesUpdateParameterswithForceUpdateTag(String forceUpdateTag)Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.TaskRunPropertiesUpdateParameterswithRunRequest(RunRequest runRequest)Set the runRequest property: The request (parameters) for the new run.
-
-
-
Method Detail
-
runRequest
public RunRequest runRequest()
Get the runRequest property: The request (parameters) for the new run.- Returns:
- the runRequest value.
-
withRunRequest
public TaskRunPropertiesUpdateParameters withRunRequest(RunRequest runRequest)
Set the runRequest property: The request (parameters) for the new run.- Parameters:
runRequest- the runRequest value to set.- Returns:
- the TaskRunPropertiesUpdateParameters 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 TaskRunPropertiesUpdateParameters 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 TaskRunPropertiesUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-