Class OperationStatusInner

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

public final class OperationStatusInner extends Object
The status of the long running operation.
  • Constructor Details

    • OperationStatusInner

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

    • status

      public OperationStatusType status()
      Get the status property: The status of the long running operation.
      Returns:
      the status value.
    • withStatus

      public OperationStatusInner withStatus(OperationStatusType status)
      Set the status property: The status of the long running operation.
      Parameters:
      status - the status value to set.
      Returns:
      the OperationStatusInner object itself.
    • reportUrl

      public ReservationReportSchema reportUrl()
      Get the reportUrl property: The CSV file from the reportUrl blob link consists of reservation usage data with the following schema at daily granularity.
      Returns:
      the reportUrl value.
    • withReportUrl

      public OperationStatusInner withReportUrl(ReservationReportSchema reportUrl)
      Set the reportUrl property: The CSV file from the reportUrl blob link consists of reservation usage data with the following schema at daily granularity.
      Parameters:
      reportUrl - the reportUrl value to set.
      Returns:
      the OperationStatusInner object itself.
    • validUntil

      public OffsetDateTime validUntil()
      Get the validUntil property: The time at which report URL becomes invalid.
      Returns:
      the validUntil value.
    • withValidUntil

      public OperationStatusInner withValidUntil(OffsetDateTime validUntil)
      Set the validUntil property: The time at which report URL becomes invalid.
      Parameters:
      validUntil - the validUntil value to set.
      Returns:
      the OperationStatusInner object itself.
    • validate

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