Class OverrideTaskStepProperties

java.lang.Object
com.azure.resourcemanager.containerregistry.models.OverrideTaskStepProperties

public final class OverrideTaskStepProperties extends Object
The OverrideTaskStepProperties model.
  • Constructor Details

    • OverrideTaskStepProperties

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

    • contextPath

      public String contextPath()
      Get the contextPath property: The source context against which run has to be queued.
      Returns:
      the contextPath value.
    • withContextPath

      public OverrideTaskStepProperties withContextPath(String contextPath)
      Set the contextPath property: The source context against which run has to be queued.
      Parameters:
      contextPath - the contextPath value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • file

      public String file()
      Get the file property: The file against which run has to be queued.
      Returns:
      the file value.
    • withFile

      public OverrideTaskStepProperties withFile(String file)
      Set the file property: The file against which run has to be queued.
      Parameters:
      file - the file value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • arguments

      public List<Argument> arguments()
      Get the arguments property: Gets or sets the collection of override arguments to be used when executing a build step.
      Returns:
      the arguments value.
    • withArguments

      public OverrideTaskStepProperties withArguments(List<Argument> arguments)
      Set the arguments property: Gets or sets the collection of override arguments to be used when executing a build step.
      Parameters:
      arguments - the arguments value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • target

      public String target()
      Get the target property: The name of the target build stage for the docker build.
      Returns:
      the target value.
    • withTarget

      public OverrideTaskStepProperties withTarget(String target)
      Set the target property: The name of the target build stage for the docker build.
      Parameters:
      target - the target value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • values

      public List<SetValue> values()
      Get the values property: The collection of overridable values that can be passed when running a Task.
      Returns:
      the values value.
    • withValues

      public OverrideTaskStepProperties withValues(List<SetValue> values)
      Set the values property: The collection of overridable values that can be passed when running a Task.
      Parameters:
      values - the values value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • updateTriggerToken

      public String updateTriggerToken()
      Get the updateTriggerToken property: Base64 encoded update trigger token that will be attached with the base image trigger webhook.
      Returns:
      the updateTriggerToken value.
    • withUpdateTriggerToken

      public OverrideTaskStepProperties withUpdateTriggerToken(String updateTriggerToken)
      Set the updateTriggerToken property: Base64 encoded update trigger token that will be attached with the base image trigger webhook.
      Parameters:
      updateTriggerToken - the updateTriggerToken value to set.
      Returns:
      the OverrideTaskStepProperties object itself.
    • validate

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