Class ExportExecutionInner

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

public final class ExportExecutionInner extends com.azure.core.management.ProxyResource
An export execution.
  • Constructor Details

    • ExportExecutionInner

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

    • etag

      public String etag()
      Get 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.
      Returns:
      the etag value.
    • withEtag

      public ExportExecutionInner 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.
      Parameters:
      etag - the etag value to set.
      Returns:
      the ExportExecutionInner object itself.
    • executionType

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

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

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

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

      public String submittedBy()
      Get the submittedBy property: The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
      Returns:
      the submittedBy value.
    • withSubmittedBy

      public ExportExecutionInner withSubmittedBy(String submittedBy)
      Set the submittedBy property: The identifier for the entity that executed the export. For OnDemand executions it is the user email. For scheduled executions it is 'System'.
      Parameters:
      submittedBy - the submittedBy value to set.
      Returns:
      the ExportExecutionInner object itself.
    • submittedTime

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

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

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

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

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

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

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

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

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

      public ExportExecutionInner withRunSettings(CommonExportPropertiesInner runSettings)
      Set the runSettings property: The export settings that were in effect for this execution.
      Parameters:
      runSettings - the runSettings value to set.
      Returns:
      the ExportExecutionInner 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 ExportExecutionInner 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 ExportExecutionInner object itself.
    • validate

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