java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.models.CostManagementProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.ExportInner

public final class ExportInner extends CostManagementProxyResource
An export resource.
  • Constructor Details

    • ExportInner

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

    • withEtag

      public ExportInner withEtag(String etag)
      Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
      Overrides:
      withEtag in class CostManagementProxyResource
      Parameters:
      etag - the etag value to set.
      Returns:
      the CostManagementProxyResource object itself.
    • schedule

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

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

      public FormatType format()
      Get the format property: The format of the export being delivered. Currently only 'Csv' is supported.
      Returns:
      the format value.
    • withFormat

      public ExportInner withFormat(FormatType format)
      Set the format property: The format of the export being delivered. Currently only 'Csv' is supported.
      Parameters:
      format - the format value to set.
      Returns:
      the ExportInner object itself.
    • deliveryInfo

      public ExportDeliveryInfo deliveryInfo()
      Get the deliveryInfo property: Has delivery information for the export.
      Returns:
      the deliveryInfo value.
    • withDeliveryInfo

      public ExportInner withDeliveryInfo(ExportDeliveryInfo deliveryInfo)
      Set the deliveryInfo property: Has delivery information for the export.
      Parameters:
      deliveryInfo - the deliveryInfo value to set.
      Returns:
      the ExportInner object itself.
    • definition

      public ExportDefinition definition()
      Get the definition property: Has the definition for the export.
      Returns:
      the definition value.
    • withDefinition

      public ExportInner withDefinition(ExportDefinition definition)
      Set the definition property: Has the definition for the export.
      Parameters:
      definition - the definition value to set.
      Returns:
      the ExportInner object itself.
    • runHistory

      public ExportExecutionListResultInner runHistory()
      Get the runHistory property: If requested, has the most recent run history for the export.
      Returns:
      the runHistory value.
    • withRunHistory

      public ExportInner withRunHistory(ExportExecutionListResultInner runHistory)
      Set the runHistory property: If requested, has the most recent run history for the export.
      Parameters:
      runHistory - the runHistory value to set.
      Returns:
      the ExportInner object itself.
    • partitionData

      public Boolean partitionData()
      Get 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.
      Returns:
      the partitionData value.
    • withPartitionData

      public ExportInner 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.
      Parameters:
      partitionData - the partitionData value to set.
      Returns:
      the ExportInner object itself.
    • nextRunTimeEstimate

      public OffsetDateTime nextRunTimeEstimate()
      Get the nextRunTimeEstimate property: If the export has an active schedule, provides an estimate of the next run time.
      Returns:
      the nextRunTimeEstimate value.
    • validate

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