Class TaskRunPropertiesInner

java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.TaskRunPropertiesInner

public final class TaskRunPropertiesInner extends Object
The properties of task run.
  • Constructor Details

    • TaskRunPropertiesInner

      public TaskRunPropertiesInner()
      Creates an instance of TaskRunPropertiesInner class.
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of this task run.
      Returns:
      the provisioningState value.
    • runRequest

      public RunRequest runRequest()
      Get the runRequest property: The request (parameters) for the run.
      Returns:
      the runRequest value.
    • withRunRequest

      public TaskRunPropertiesInner withRunRequest(RunRequest runRequest)
      Set the runRequest property: The request (parameters) for the run.
      Parameters:
      runRequest - the runRequest value to set.
      Returns:
      the TaskRunPropertiesInner object itself.
    • runResult

      public RunInner runResult()
      Get the runResult property: The result of this task run.
      Returns:
      the runResult value.
    • 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 TaskRunPropertiesInner 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 TaskRunPropertiesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.