Class OperationResult

java.lang.Object
com.azure.resourcemanager.appservice.models.OperationResultProperties
com.azure.resourcemanager.appservice.models.OperationResult
Direct Known Subclasses:
WorkflowRunActionRepetitionProperties

public class OperationResult extends OperationResultProperties
The operation result definition.
  • Constructor Details

    • OperationResult

      public OperationResult()
  • Method Details

    • trackingId

      public String trackingId()
      Get the trackingId property: Gets the tracking id.
      Returns:
      the trackingId value.
    • inputs

      public Object inputs()
      Get the inputs property: Gets the inputs.
      Returns:
      the inputs value.
    • inputsLink

      public ContentLink inputsLink()
      Get the inputsLink property: Gets the link to inputs.
      Returns:
      the inputsLink value.
    • outputs

      public Object outputs()
      Get the outputs property: Gets the outputs.
      Returns:
      the outputs value.
    • outputsLink

      public ContentLink outputsLink()
      Get the outputsLink property: Gets the link to outputs.
      Returns:
      the outputsLink value.
    • trackedProperties

      public Object trackedProperties()
      Get the trackedProperties property: Gets the tracked properties.
      Returns:
      the trackedProperties value.
    • retryHistory

      public List<RetryHistory> retryHistory()
      Get the retryHistory property: Gets the retry histories.
      Returns:
      the retryHistory value.
    • withRetryHistory

      public OperationResult withRetryHistory(List<RetryHistory> retryHistory)
      Set the retryHistory property: Gets the retry histories.
      Parameters:
      retryHistory - the retryHistory value to set.
      Returns:
      the OperationResult object itself.
    • iterationCount

      public Integer iterationCount()
      Get the iterationCount property: The iterationCount property.
      Returns:
      the iterationCount value.
    • withIterationCount

      public OperationResult withIterationCount(Integer iterationCount)
      Set the iterationCount property: The iterationCount property.
      Parameters:
      iterationCount - the iterationCount value to set.
      Returns:
      the OperationResult object itself.
    • withStartTime

      public OperationResult withStartTime(OffsetDateTime startTime)
      Set the startTime property: The start time of the workflow scope repetition.
      Overrides:
      withStartTime in class OperationResultProperties
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the OperationResultProperties object itself.
    • withEndTime

      public OperationResult withEndTime(OffsetDateTime endTime)
      Set the endTime property: The end time of the workflow scope repetition.
      Overrides:
      withEndTime in class OperationResultProperties
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the OperationResultProperties object itself.
    • withCorrelation

      public OperationResult withCorrelation(RunActionCorrelation correlation)
      Set the correlation property: The correlation properties.
      Overrides:
      withCorrelation in class OperationResultProperties
      Parameters:
      correlation - the correlation value to set.
      Returns:
      the OperationResultProperties object itself.
    • withStatus

      public OperationResult withStatus(WorkflowStatus status)
      Set the status property: The status of the workflow scope repetition.
      Overrides:
      withStatus in class OperationResultProperties
      Parameters:
      status - the status value to set.
      Returns:
      the OperationResultProperties object itself.
    • withCode

      public OperationResult withCode(String code)
      Set the code property: The workflow scope repetition code.
      Overrides:
      withCode in class OperationResultProperties
      Parameters:
      code - the code value to set.
      Returns:
      the OperationResultProperties object itself.
    • withError

      public OperationResult withError(Object error)
      Set the error property: Anything.
      Overrides:
      withError in class OperationResultProperties
      Parameters:
      error - the error value to set.
      Returns:
      the OperationResultProperties object itself.
    • validate

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