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
-
Method Summary
Modifier and TypeMethodDescriptionschedule()
Get the schedule property: Has schedule information for the export.void
validate()
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:
withFormat
in 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:
withDeliveryInfo
in 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:
withDefinition
in 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:
withRunHistory
in 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:
withPartitionData
in classCommonExportPropertiesInner
- Parameters:
partitionData
- the partitionData value to set.- Returns:
- the CommonExportPropertiesInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCommonExportPropertiesInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-