Class ExportRunPropertiesInner

java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.ExportRunPropertiesInner

public final class ExportRunPropertiesInner extends Object
The properties of the export run.
  • Constructor Details

    • ExportRunPropertiesInner

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

    • executionType

      public ExecutionType executionType()
      Get the executionType property: The type of the export run.
      Returns:
      the executionType value.
    • withExecutionType

      public ExportRunPropertiesInner withExecutionType(ExecutionType executionType)
      Set the executionType property: The type of the export run.
      Parameters:
      executionType - the executionType value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • status

      public ExecutionStatus status()
      Get the status property: The last known status of the export run.
      Returns:
      the status value.
    • withStatus

      public ExportRunPropertiesInner withStatus(ExecutionStatus status)
      Set the status property: The last known status of the export run.
      Parameters:
      status - the status value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • submittedBy

      public String submittedBy()
      Get the submittedBy property: The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'.
      Returns:
      the submittedBy value.
    • withSubmittedBy

      public ExportRunPropertiesInner withSubmittedBy(String submittedBy)
      Set the submittedBy property: The identifier for the entity that triggered the export. For on-demand runs it is the user email. For scheduled runs it is 'System'.
      Parameters:
      submittedBy - the submittedBy value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • submittedTime

      public OffsetDateTime submittedTime()
      Get the submittedTime property: The time when export was queued to be run.
      Returns:
      the submittedTime value.
    • withSubmittedTime

      public ExportRunPropertiesInner withSubmittedTime(OffsetDateTime submittedTime)
      Set the submittedTime property: The time when export was queued to be run.
      Parameters:
      submittedTime - the submittedTime value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • processingStartTime

      public OffsetDateTime processingStartTime()
      Get the processingStartTime property: The time when export was picked up to be run.
      Returns:
      the processingStartTime value.
    • withProcessingStartTime

      public ExportRunPropertiesInner withProcessingStartTime(OffsetDateTime processingStartTime)
      Set the processingStartTime property: The time when export was picked up to be run.
      Parameters:
      processingStartTime - the processingStartTime value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • processingEndTime

      public OffsetDateTime processingEndTime()
      Get the processingEndTime property: The time when the export run finished.
      Returns:
      the processingEndTime value.
    • withProcessingEndTime

      public ExportRunPropertiesInner withProcessingEndTime(OffsetDateTime processingEndTime)
      Set the processingEndTime property: The time when the export run finished.
      Parameters:
      processingEndTime - the processingEndTime value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • fileName

      public String fileName()
      Get the fileName property: The name of the exported file.
      Returns:
      the fileName value.
    • withFileName

      public ExportRunPropertiesInner withFileName(String fileName)
      Set the fileName property: The name of the exported file.
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • runSettings

      public CommonExportPropertiesInner runSettings()
      Get the runSettings property: The export settings that were in effect for this run.
      Returns:
      the runSettings value.
    • withRunSettings

      public ExportRunPropertiesInner withRunSettings(CommonExportPropertiesInner runSettings)
      Set the runSettings property: The export settings that were in effect for this run.
      Parameters:
      runSettings - the runSettings value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • error

      public com.azure.core.management.exception.ManagementError error()
      Get the error property: The details of any error.
      Returns:
      the error value.
    • withError

      public ExportRunPropertiesInner withError(com.azure.core.management.exception.ManagementError error)
      Set the error property: The details of any error.
      Parameters:
      error - the error value to set.
      Returns:
      the ExportRunPropertiesInner object itself.
    • validate

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