Class AssetTrackOperationStatusInner

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

public final class AssetTrackOperationStatusInner extends Object
Status of asset track operation.
  • Constructor Details

    • AssetTrackOperationStatusInner

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

    • name

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

      public AssetTrackOperationStatusInner withName(String name)
      Set the name property: Operation identifier.
      Parameters:
      name - the name value to set.
      Returns:
      the AssetTrackOperationStatusInner 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 AssetTrackOperationStatusInner object itself.
    • startTime

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

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

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

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

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

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

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

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

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