Class GenerateDetailedCostReportOperationStatusesInner

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

public final class GenerateDetailedCostReportOperationStatusesInner extends Object
The status of the long running operation for cost detailed report.
  • Constructor Details

    • GenerateDetailedCostReportOperationStatusesInner

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

    • id

      public String id()
      Get the id property: The ID of the long running operation.
      Returns:
      the id value.
    • withId

      Set the id property: The ID of the long running operation.
      Parameters:
      id - the id value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • name

      public String name()
      Get the name property: The name of the long running operation.
      Returns:
      the name value.
    • withName

      Set the name property: The name of the long running operation.
      Parameters:
      name - the name value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • status

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

      Set the status property: The status of the long running operation.
      Parameters:
      status - the status value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • type

      public String type()
      Get the type property: The type of the long running operation.
      Returns:
      the type value.
    • withType

      Set the type property: The type of the long running operation.
      Parameters:
      type - the type value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • error

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

      public GenerateDetailedCostReportOperationStatusesInner withError(com.azure.core.management.exception.ManagementError error)
      Set the error property: The details of the error.
      Parameters:
      error - the error value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • expiryTime

      public OffsetDateTime expiryTime()
      Get the expiryTime property: The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.
      Returns:
      the expiryTime value.
    • validTill

      public OffsetDateTime validTill()
      Get the validTill property: The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.
      Returns:
      the validTill value.
    • withValidTill

      Set the validTill property: The time at which report URL becomes invalid/expires in UTC e.g. 2020-12-08T05:55:59.4394737Z.
      Parameters:
      validTill - the validTill value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • downloadUrl

      public String downloadUrl()
      Get the downloadUrl property: The URL to download the generated report.
      Returns:
      the downloadUrl value.
    • withDownloadUrl

      public GenerateDetailedCostReportOperationStatusesInner withDownloadUrl(String downloadUrl)
      Set the downloadUrl property: The URL to download the generated report.
      Parameters:
      downloadUrl - the downloadUrl value to set.
      Returns:
      the GenerateDetailedCostReportOperationStatusesInner object itself.
    • validate

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