Class OperationResultProperties

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

public class OperationResultProperties extends Object
The run operation result properties.
  • Constructor Details

    • OperationResultProperties

      public OperationResultProperties()
  • Method Details

    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The start time of the workflow scope repetition.
      Returns:
      the startTime value.
    • withStartTime

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

      public OffsetDateTime endTime()
      Get the endTime property: The end time of the workflow scope repetition.
      Returns:
      the endTime value.
    • withEndTime

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

      public RunActionCorrelation correlation()
      Get the correlation property: The correlation properties.
      Returns:
      the correlation value.
    • withCorrelation

      public OperationResultProperties withCorrelation(RunActionCorrelation correlation)
      Set the correlation property: The correlation properties.
      Parameters:
      correlation - the correlation value to set.
      Returns:
      the OperationResultProperties object itself.
    • status

      public WorkflowStatus status()
      Get the status property: The status of the workflow scope repetition.
      Returns:
      the status value.
    • withStatus

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

      public String code()
      Get the code property: The workflow scope repetition code.
      Returns:
      the code value.
    • withCode

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

      public Object error()
      Get the error property: Anything.
      Returns:
      the error value.
    • withError

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

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