java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.CommonExportPropertiesInner
com.azure.resourcemanager.costmanagement.fluent.models.ExportProperties

public final class ExportProperties extends CommonExportPropertiesInner
The properties of the export.
  • Constructor Details

    • ExportProperties

      public ExportProperties()
      Creates an instance of ExportProperties class.
  • Method Details

    • schedule

      public ExportSchedule schedule()
      Get the schedule property: Has schedule information for the export.
      Returns:
      the schedule value.
    • withSchedule

      public ExportProperties withSchedule(ExportSchedule schedule)
      Set the schedule property: Has schedule information for the export.
      Parameters:
      schedule - the schedule value to set.
      Returns:
      the ExportProperties object itself.
    • withFormat

      public ExportProperties withFormat(FormatType format)
      Set the format property: The format of the export being delivered. Currently only 'Csv' is supported.
      Overrides:
      withFormat in class CommonExportPropertiesInner
      Parameters:
      format - the format value to set.
      Returns:
      the CommonExportPropertiesInner object itself.
    • withDeliveryInfo

      public ExportProperties withDeliveryInfo(ExportDeliveryInfo deliveryInfo)
      Set the deliveryInfo property: Has delivery information for the export.
      Overrides:
      withDeliveryInfo in class CommonExportPropertiesInner
      Parameters:
      deliveryInfo - the deliveryInfo value to set.
      Returns:
      the CommonExportPropertiesInner object itself.
    • withDefinition

      public ExportProperties withDefinition(ExportDefinition definition)
      Set the definition property: Has the definition for the export.
      Overrides:
      withDefinition in class CommonExportPropertiesInner
      Parameters:
      definition - the definition value to set.
      Returns:
      the CommonExportPropertiesInner object itself.
    • withRunHistory

      public ExportProperties withRunHistory(ExportExecutionListResultInner runHistory)
      Set the runHistory property: If requested, has the most recent run history for the export.
      Overrides:
      withRunHistory in class CommonExportPropertiesInner
      Parameters:
      runHistory - the runHistory value to set.
      Returns:
      the CommonExportPropertiesInner object itself.
    • withPartitionData

      public ExportProperties 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. Note: this option is currently available only for Microsoft Customer Agreement commerce scopes.
      Overrides:
      withPartitionData in class CommonExportPropertiesInner
      Parameters:
      partitionData - the partitionData value to set.
      Returns:
      the CommonExportPropertiesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CommonExportPropertiesInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.