Class TaskRunPropertiesInner
java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.TaskRunPropertiesInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TaskRunPropertiesInner>
public final class TaskRunPropertiesInner
extends Object
implements com.azure.json.JsonSerializable<TaskRunPropertiesInner>
The properties of task run.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TaskRunPropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.static TaskRunPropertiesInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TaskRunPropertiesInner from the JsonReader.Get the provisioningState property: The provisioning state of this task run.Get the runRequest property: The request (parameters) for the run.Get the runResult property: The result of this task run.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withForceUpdateTag(String forceUpdateTag) Set the forceUpdateTag property: How the run should be forced to rerun even if the run request configuration has not changed.withRunRequest(RunRequest runRequest) Set the runRequest property: The request (parameters) for the run.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TaskRunPropertiesInner
public TaskRunPropertiesInner()Creates an instance of TaskRunPropertiesInner class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of this task run.- Returns:
- the provisioningState value.
-
runRequest
Get the runRequest property: The request (parameters) for the run.- Returns:
- the runRequest value.
-
withRunRequest
Set the runRequest property: The request (parameters) for the run.- Parameters:
runRequest- the runRequest value to set.- Returns:
- the TaskRunPropertiesInner object itself.
-
runResult
Get the runResult property: The result of this task run.- Returns:
- the runResult value.
-
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
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 TaskRunPropertiesInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TaskRunPropertiesInner>- Throws:
IOException
-
fromJson
public static TaskRunPropertiesInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TaskRunPropertiesInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TaskRunPropertiesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the TaskRunPropertiesInner.
-