Class MediaServiceOperationStatusInner

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.MediaServiceOperationStatusInner

public final class MediaServiceOperationStatusInner extends Object
Status of media service operation.
  • Constructor Details

    • MediaServiceOperationStatusInner

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

    • name

      public String name()
      Get the name property: Operation identifier.
      Returns:
      the name value.
    • withName

      public MediaServiceOperationStatusInner withName(String name)
      Set the name property: Operation identifier.
      Parameters:
      name - the name value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • id

      public String id()
      Get the id property: Operation resource ID.
      Returns:
      the id value.
    • withId

      Set the id property: Operation resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: Operation start time.
      Returns:
      the startTime value.
    • withStartTime

      public MediaServiceOperationStatusInner withStartTime(OffsetDateTime startTime)
      Set the startTime property: Operation start time.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: Operation end time.
      Returns:
      the endTime value.
    • withEndTime

      public MediaServiceOperationStatusInner withEndTime(OffsetDateTime endTime)
      Set the endTime property: Operation end time.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • status

      public String status()
      Get the status property: Operation status.
      Returns:
      the status value.
    • withStatus

      public MediaServiceOperationStatusInner withStatus(String status)
      Set the status property: Operation status.
      Parameters:
      status - the status value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: The error detail.
      Returns:
      the error value.
    • withError

      public MediaServiceOperationStatusInner withError(com.azure.core.management.exception.ManagementError error)
      Set the error property: The error detail.
      Parameters:
      error - the error value to set.
      Returns:
      the MediaServiceOperationStatusInner object itself.
    • validate

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