Class ExportProperties
java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.CommonExportPropertiesInner
com.azure.resourcemanager.costmanagement.fluent.models.ExportProperties
The properties of the export.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionschedule()Get the schedule property: Has schedule information for the export.voidvalidate()Validates the instance.withDefinition(ExportDefinition definition) Set the definition property: Has the definition for the export.withDeliveryInfo(ExportDeliveryInfo deliveryInfo) Set the deliveryInfo property: Has delivery information for the export.withFormat(FormatType format) Set the format property: The format of the export being delivered.withPartitionData(Boolean partitionData) Set the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file.withRunHistory(ExportExecutionListResultInner runHistory) Set the runHistory property: If requested, has the most recent run history for the export.withSchedule(ExportSchedule schedule) Set the schedule property: Has schedule information for the export.Methods inherited from class com.azure.resourcemanager.costmanagement.fluent.models.CommonExportPropertiesInner
definition, deliveryInfo, format, nextRunTimeEstimate, partitionData, runHistory
-
Constructor Details
-
ExportProperties
public ExportProperties()Creates an instance of ExportProperties class.
-
-
Method Details
-
schedule
Get the schedule property: Has schedule information for the export.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Has schedule information for the export.- Parameters:
schedule- the schedule value to set.- Returns:
- the ExportProperties object itself.
-
withFormat
Set the format property: The format of the export being delivered. Currently only 'Csv' is supported.- Overrides:
withFormatin classCommonExportPropertiesInner- Parameters:
format- the format value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
withDeliveryInfo
Set the deliveryInfo property: Has delivery information for the export.- Overrides:
withDeliveryInfoin classCommonExportPropertiesInner- Parameters:
deliveryInfo- the deliveryInfo value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
withDefinition
Set the definition property: Has the definition for the export.- Overrides:
withDefinitionin classCommonExportPropertiesInner- Parameters:
definition- the definition value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
withRunHistory
Set the runHistory property: If requested, has the most recent run history for the export.- Overrides:
withRunHistoryin classCommonExportPropertiesInner- Parameters:
runHistory- the runHistory value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
withPartitionData
Set the partitionData property: If set to true, exported data will be partitioned by size and placed in a blob directory together with a manifest file. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes.- Overrides:
withPartitionDatain classCommonExportPropertiesInner- Parameters:
partitionData- the partitionData value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCommonExportPropertiesInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-