Class ExportDefinition
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportDefinition
The definition of an export.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondataSet()
Get the dataSet property: The definition for data in the export.Get the timeframe property: The time frame for pulling data for the export.Get the timePeriod property: Has time period for pulling data for the export.type()
Get the type property: The type of the export.void
validate()
Validates the instance.withDataSet
(ExportDataset dataSet) Set the dataSet property: The definition for data in the export.withTimeframe
(TimeframeType timeframe) Set the timeframe property: The time frame for pulling data for the export.withTimePeriod
(ExportTimePeriod timePeriod) Set the timePeriod property: Has time period for pulling data for the export.withType
(ExportType type) Set the type property: The type of the export.
-
Constructor Details
-
ExportDefinition
public ExportDefinition()Creates an instance of ExportDefinition class.
-
-
Method Details
-
type
Get the type property: The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.- Returns:
- the type value.
-
withType
Set the type property: The type of the export. Note that 'Usage' is equivalent to 'ActualCost' and is applicable to exports that do not yet provide data for charges or amortization for service reservations.- Parameters:
type
- the type value to set.- Returns:
- the ExportDefinition object itself.
-
timeframe
Get the timeframe property: The time frame for pulling data for the export. 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 export. If custom, then a specific time period must be provided.- Parameters:
timeframe
- the timeframe value to set.- Returns:
- the ExportDefinition object itself.
-
timePeriod
Get the timePeriod property: Has time period for pulling data for the export.- Returns:
- the timePeriod value.
-
withTimePeriod
Set the timePeriod property: Has time period for pulling data for the export.- Parameters:
timePeriod
- the timePeriod value to set.- Returns:
- the ExportDefinition object itself.
-
dataSet
Get the dataSet property: The definition for data in the export.- Returns:
- the dataSet value.
-
withDataSet
Set the dataSet property: The definition for data in the export.- Parameters:
dataSet
- the dataSet value to set.- Returns:
- the ExportDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-