Class GenerateDetailedCostReportOperationStatusesInner
java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.GenerateDetailedCostReportOperationStatusesInner
The status of the long running operation for cost detailed report.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GenerateDetailedCostReportOperationStatusesInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the downloadUrl property: The URL to download the generated report.com.azure.core.management.exception.ManagementError
error()
Get the error property: The details of the error.Get the expiryTime property: The time at which report URL becomes invalid/expires in UTC e.g.id()
Get the id property: The ID of the long running operation.name()
Get the name property: The name of the long running operation.status()
Get the status property: The status of the long running 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.withDownloadUrl
(String downloadUrl) Set the downloadUrl property: The URL to download the generated 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.Set the name property: The name of the long running operation.withStatus
(Status status) Set the status property: The status of the long running 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
-
GenerateDetailedCostReportOperationStatusesInner
public GenerateDetailedCostReportOperationStatusesInner()Creates an instance of GenerateDetailedCostReportOperationStatusesInner 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 GenerateDetailedCostReportOperationStatusesInner 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 GenerateDetailedCostReportOperationStatusesInner object itself.
-
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
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
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
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
Get the downloadUrl property: The URL to download the generated report.- Returns:
- the downloadUrl value.
-
withDownloadUrl
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.
-