Class CostDetailsOperationResultsInner

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

public final class CostDetailsOperationResultsInner extends Object
The result of the long running operation for cost details Api.
  • Constructor Details

    • CostDetailsOperationResultsInner

      public CostDetailsOperationResultsInner()
      Creates an instance of CostDetailsOperationResultsInner 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 CostDetailsOperationResultsInner object itself.
    • name

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

      public CostDetailsOperationResultsInner withName(String name)
      Set the name property: The name of the long running operation.
      Parameters:
      name - the name value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • type

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

      public CostDetailsOperationResultsInner withType(String type)
      Set the type property: The type of the long running operation.
      Parameters:
      type - the type value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • status

      public CostDetailsStatusType status()
      Get the status property: The status of the cost details operation.
      Returns:
      the status value.
    • withStatus

      Set the status property: The status of the cost details operation.
      Parameters:
      status - the status value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • 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

      public CostDetailsOperationResultsInner withValidTill(OffsetDateTime validTill)
      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 CostDetailsOperationResultsInner 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 CostDetailsOperationResultsInner 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 CostDetailsOperationResultsInner object itself.
    • manifestVersion

      public String manifestVersion()
      Get the manifestVersion property: The Manifest version.
      Returns:
      the manifestVersion value.
    • withManifestVersion

      public CostDetailsOperationResultsInner withManifestVersion(String manifestVersion)
      Set the manifestVersion property: The Manifest version.
      Parameters:
      manifestVersion - the manifestVersion value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • dataFormat

      public CostDetailsDataFormat dataFormat()
      Get the dataFormat property: The data format of the report.
      Returns:
      the dataFormat value.
    • withDataFormat

      public CostDetailsOperationResultsInner withDataFormat(CostDetailsDataFormat dataFormat)
      Set the dataFormat property: The data format of the report.
      Parameters:
      dataFormat - the dataFormat value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • byteCount

      public Long byteCount()
      Get the byteCount property: The total number of bytes in all blobs.
      Returns:
      the byteCount value.
    • withByteCount

      public CostDetailsOperationResultsInner withByteCount(Long byteCount)
      Set the byteCount property: The total number of bytes in all blobs.
      Parameters:
      byteCount - the byteCount value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • blobCount

      public Integer blobCount()
      Get the blobCount property: The total number of blobs.
      Returns:
      the blobCount value.
    • withBlobCount

      public CostDetailsOperationResultsInner withBlobCount(Integer blobCount)
      Set the blobCount property: The total number of blobs.
      Parameters:
      blobCount - the blobCount value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • compressData

      public Boolean compressData()
      Get the compressData property: Is the data in compressed format.
      Returns:
      the compressData value.
    • withCompressData

      public CostDetailsOperationResultsInner withCompressData(Boolean compressData)
      Set the compressData property: Is the data in compressed format.
      Parameters:
      compressData - the compressData value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • blobs

      public List<BlobInfo> blobs()
      Get the blobs property: List of blob information generated by this operation.
      Returns:
      the blobs value.
    • withBlobs

      public CostDetailsOperationResultsInner withBlobs(List<BlobInfo> blobs)
      Set the blobs property: List of blob information generated by this operation.
      Parameters:
      blobs - the blobs value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • requestScope

      public String requestScope()
      Get the requestScope property: The request scope of the request.
      Returns:
      the requestScope value.
    • withRequestScope

      public CostDetailsOperationResultsInner withRequestScope(String requestScope)
      Set the requestScope property: The request scope of the request.
      Parameters:
      requestScope - the requestScope value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • requestBody

      Get the requestBody property: The request payload body provided in Cost Details call.
      Returns:
      the requestBody value.
    • withRequestBody

      Set the requestBody property: The request payload body provided in Cost Details call.
      Parameters:
      requestBody - the requestBody value to set.
      Returns:
      the CostDetailsOperationResultsInner object itself.
    • validate

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