Class CostDetailsOperationResultsInner
java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.CostDetailsOperationResultsInner
The result of the long running operation for cost details Api.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CostDetailsOperationResultsInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobCount property: The total number of blobs.blobs()
Get the blobs property: List of blob information generated by this operation.Get the byteCount property: The total number of bytes in all blobs.Get the compressData property: Is the data in compressed format.Get the dataFormat property: The data format of the report.com.azure.core.management.exception.ManagementError
error()
Get the error property: The details of the error.id()
Get the id property: The id of the long running operation.Get the manifestVersion property: The Manifest version.name()
Get the name property: The name of the long running operation.Get the requestBody property: The request payload body provided in Cost Details call.Get the requestScope property: The request scope of the request.status()
Get the status property: The status of the cost details operation.type()
Get the type property: The type of the long running operation.void
validate()
Validates the instance.Get the validTill property: The time at which report URL becomes invalid/expires in UTC e.g.withBlobCount
(Integer blobCount) Set the blobCount property: The total number of blobs.Set the blobs property: List of blob information generated by this operation.withByteCount
(Long byteCount) Set the byteCount property: The total number of bytes in all blobs.withCompressData
(Boolean compressData) Set the compressData property: Is the data in compressed format.withDataFormat
(CostDetailsDataFormat dataFormat) Set the dataFormat property: The data format of the report.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: The details of the error.Set the id property: The id of the long running operation.withManifestVersion
(String manifestVersion) Set the manifestVersion property: The Manifest version.Set the name property: The name of the long running operation.Set the requestBody property: The request payload body provided in Cost Details call.withRequestScope
(String requestScope) Set the requestScope property: The request scope of the request.withStatus
(CostDetailsStatusType status) Set the status property: The status of the cost details operation.Set the type property: The type of the long running operation.withValidTill
(OffsetDateTime validTill) Set the validTill property: The time at which report URL becomes invalid/expires in UTC e.g.
-
Constructor Details
-
CostDetailsOperationResultsInner
public CostDetailsOperationResultsInner()Creates an instance of CostDetailsOperationResultsInner class.
-
-
Method Details
-
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
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 CostDetailsOperationResultsInner object itself.
-
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 CostDetailsOperationResultsInner object itself.
-
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
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 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
Get the manifestVersion property: The Manifest version.- Returns:
- the manifestVersion value.
-
withManifestVersion
Set the manifestVersion property: The Manifest version.- Parameters:
manifestVersion
- the manifestVersion value to set.- Returns:
- the CostDetailsOperationResultsInner object itself.
-
dataFormat
Get the dataFormat property: The data format of the report.- Returns:
- the dataFormat value.
-
withDataFormat
Set the dataFormat property: The data format of the report.- Parameters:
dataFormat
- the dataFormat value to set.- Returns:
- the CostDetailsOperationResultsInner object itself.
-
byteCount
Get the byteCount property: The total number of bytes in all blobs.- Returns:
- the byteCount value.
-
withByteCount
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
Get the blobCount property: The total number of blobs.- Returns:
- the blobCount value.
-
withBlobCount
Set the blobCount property: The total number of blobs.- Parameters:
blobCount
- the blobCount value to set.- Returns:
- the CostDetailsOperationResultsInner object itself.
-
compressData
Get the compressData property: Is the data in compressed format.- Returns:
- the compressData value.
-
withCompressData
Set the compressData property: Is the data in compressed format.- Parameters:
compressData
- the compressData value to set.- Returns:
- the CostDetailsOperationResultsInner object itself.
-
blobs
Get the blobs property: List of blob information generated by this operation.- Returns:
- the blobs value.
-
withBlobs
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
Get the requestScope property: The request scope of the request.- Returns:
- the requestScope value.
-
withRequestScope
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
public CostDetailsOperationResultsInner withRequestBody(GenerateCostDetailsReportRequestDefinition requestBody) 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.
-