java.lang.Object
com.azure.resourcemanager.containerregistry.models.RunRequest
Direct Known Subclasses:
DockerBuildRequest, EncodedTaskRunRequest, FileTaskRunRequest, TaskRunRequest

public class RunRequest extends Object
The request parameters for scheduling a run.
  • Constructor Details

    • RunRequest

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

    • isArchiveEnabled

      public Boolean isArchiveEnabled()
      Get the isArchiveEnabled property: The value that indicates whether archiving is enabled for the run or not.
      Returns:
      the isArchiveEnabled value.
    • withIsArchiveEnabled

      public RunRequest withIsArchiveEnabled(Boolean isArchiveEnabled)
      Set the isArchiveEnabled property: The value that indicates whether archiving is enabled for the run or not.
      Parameters:
      isArchiveEnabled - the isArchiveEnabled value to set.
      Returns:
      the RunRequest object itself.
    • agentPoolName

      public String agentPoolName()
      Get the agentPoolName property: The dedicated agent pool for the run.
      Returns:
      the agentPoolName value.
    • withAgentPoolName

      public RunRequest withAgentPoolName(String agentPoolName)
      Set the agentPoolName property: The dedicated agent pool for the run.
      Parameters:
      agentPoolName - the agentPoolName value to set.
      Returns:
      the RunRequest object itself.
    • logTemplate

      public String logTemplate()
      Get the logTemplate property: The template that describes the repository and tag information for run log artifact.
      Returns:
      the logTemplate value.
    • withLogTemplate

      public RunRequest withLogTemplate(String logTemplate)
      Set the logTemplate property: The template that describes the repository and tag information for run log artifact.
      Parameters:
      logTemplate - the logTemplate value to set.
      Returns:
      the RunRequest object itself.
    • validate

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