Class ReportConfigDefinition
java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.ReportConfigDefinition
The definition of a report config.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ReportConfigDefinition class. -
Method Summary
Modifier and TypeMethodDescriptiondataSet()
Get the dataSet property: Has definition for data in this report config.Get the includeMonetaryCommitment property: If true, report includes monetary commitment.Get the timeframe property: The time frame for pulling data for the report.Get the timePeriod property: Has time period for pulling data for the report.type()
Get the type property: The type of the report.void
validate()
Validates the instance.withDataSet
(ReportConfigDataset dataSet) Set the dataSet property: Has definition for data in this report config.withIncludeMonetaryCommitment
(Boolean includeMonetaryCommitment) Set the includeMonetaryCommitment property: If true, report includes monetary commitment.withTimeframe
(ReportTimeframeType timeframe) Set the timeframe property: The time frame for pulling data for the report.withTimePeriod
(ReportConfigTimePeriod timePeriod) Set the timePeriod property: Has time period for pulling data for the report.withType
(ReportType type) Set the type property: The type of the report.
-
Constructor Details
-
ReportConfigDefinition
public ReportConfigDefinition()Creates an instance of ReportConfigDefinition class.
-
-
Method Details
-
type
Get the type property: The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.- Returns:
- the type value.
-
withType
Set the type property: The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.- Parameters:
type
- the type value to set.- Returns:
- the ReportConfigDefinition object itself.
-
timeframe
Get the timeframe property: The time frame for pulling data for the report. If custom, then a specific time period must be provided.- Returns:
- the timeframe value.
-
withTimeframe
Set the timeframe property: The time frame for pulling data for the report. If custom, then a specific time period must be provided.- Parameters:
timeframe
- the timeframe value to set.- Returns:
- the ReportConfigDefinition object itself.
-
timePeriod
Get the timePeriod property: Has time period for pulling data for the report.- Returns:
- the timePeriod value.
-
withTimePeriod
Set the timePeriod property: Has time period for pulling data for the report.- Parameters:
timePeriod
- the timePeriod value to set.- Returns:
- the ReportConfigDefinition object itself.
-
dataSet
Get the dataSet property: Has definition for data in this report config.- Returns:
- the dataSet value.
-
withDataSet
Set the dataSet property: Has definition for data in this report config.- Parameters:
dataSet
- the dataSet value to set.- Returns:
- the ReportConfigDefinition object itself.
-
includeMonetaryCommitment
Get the includeMonetaryCommitment property: If true, report includes monetary commitment.- Returns:
- the includeMonetaryCommitment value.
-
withIncludeMonetaryCommitment
Set the includeMonetaryCommitment property: If true, report includes monetary commitment.- Parameters:
includeMonetaryCommitment
- the includeMonetaryCommitment value to set.- Returns:
- the ReportConfigDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-