Class OperationStatusInner

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.OperationStatusInner

public final class OperationStatusInner extends Object
The current status of an async operation.
  • Constructor Details

    • OperationStatusInner

      public OperationStatusInner()
  • Method Details

    • id

      public String id()
      Get the id property: Fully qualified ID for the operation status.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The operation id name.
      Returns:
      the name value.
    • status

      public String status()
      Get the status property: Provisioning state of the resource.
      Returns:
      the status value.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The start time of the operation.
      Returns:
      the startTime value.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: The end time of the operation.
      Returns:
      the endTime value.
    • percentComplete

      public Float percentComplete()
      Get the percentComplete property: Percent of the operation that is complete.
      Returns:
      the percentComplete value.
    • properties

      public Object properties()
      Get the properties property: Custom operation properties, populated only for a successful operation.
      Returns:
      the properties value.
    • error

      public OperationStatusError error()
      Get the error property: Operation Error message.
      Returns:
      the error value.
    • withError

      public OperationStatusInner withError(OperationStatusError error)
      Set the error property: Operation Error message.
      Parameters:
      error - the error value to set.
      Returns:
      the OperationStatusInner object itself.
    • validate

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