OperationStatusInner Class

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

public final class OperationStatusInner

The status of the long running operation.

Constructor Summary

Constructor Description
OperationStatusInner()

Creates an instance of OperationStatusInner class.

Method Summary

Modifier and Type Method and Description
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.

OperationStatusType status()

Get the status property: The status of the long running operation.

OffsetDateTime validUntil()

Get the validUntil property: The time at which report URL becomes invalid.

void validate()

Validates the instance.

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.

OperationStatusInner withStatus(OperationStatusType status)

Set the status property: The status of the long running operation.

OperationStatusInner withValidUntil(OffsetDateTime validUntil)

Set the validUntil property: The time at which report URL becomes invalid.

Methods inherited from java.lang.Object

Constructor Details

OperationStatusInner

public OperationStatusInner()

Creates an instance of OperationStatusInner class.

Method Details

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.

status

public OperationStatusType status()

Get the status property: The status of the long running operation.

Returns:

the status value.

validUntil

public OffsetDateTime validUntil()

Get the validUntil property: The time at which report URL becomes invalid.

Returns:

the validUntil value.

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to