Class ExportDataset
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ExportDataset
The definition for data in the export.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: The export dataset configuration.Get the granularity property: The granularity of rows in the export.void
validate()
Validates the instance.withConfiguration
(ExportDatasetConfiguration configuration) Set the configuration property: The export dataset configuration.withGranularity
(GranularityType granularity) Set the granularity property: The granularity of rows in the export.
-
Constructor Details
-
ExportDataset
public ExportDataset()Creates an instance of ExportDataset class.
-
-
Method Details
-
granularity
Get the granularity property: The granularity of rows in the export. Currently only 'Daily' is supported.- Returns:
- the granularity value.
-
withGranularity
Set the granularity property: The granularity of rows in the export. Currently only 'Daily' is supported.- Parameters:
granularity
- the granularity value to set.- Returns:
- the ExportDataset object itself.
-
configuration
Get the configuration property: The export dataset configuration.- Returns:
- the configuration value.
-
withConfiguration
Set the configuration property: The export dataset configuration.- Parameters:
configuration
- the configuration value to set.- Returns:
- the ExportDataset object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-