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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.exception.ManagementError
error()
Get the error property: The details of any error.etag()
Get the etag property: eTag of the resource.Get the executionType property: The type of the export execution.fileName()
Get the fileName property: The name of the exported file.Get the processingEndTime property: The time when the export execution finished.Get the processingStartTime property: The time when export was picked up to be executed.Get the runSettings property: The export settings that were in effect for this execution.status()
Get the status property: The last known status of the export execution.Get the submittedBy property: The identifier for the entity that executed the export.Get the submittedTime property: The time when export was queued to be executed.void
validate()
Validates the instance.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: The details of any error.Set the etag property: eTag of the resource.withExecutionType
(ExecutionType executionType) Set the executionType property: The type of the export execution.withFileName
(String fileName) Set the fileName property: The name of the exported file.withProcessingEndTime
(OffsetDateTime processingEndTime) Set the processingEndTime property: The time when the export execution finished.withProcessingStartTime
(OffsetDateTime processingStartTime) Set the processingStartTime property: The time when export was picked up to be executed.withRunSettings
(CommonExportPropertiesInner runSettings) Set the runSettings property: The export settings that were in effect for this execution.withStatus
(ExecutionStatus status) Set the status property: The last known status of the export execution.withSubmittedBy
(String submittedBy) Set the submittedBy property: The identifier for the entity that executed the export.withSubmittedTime
(OffsetDateTime submittedTime) Set the submittedTime property: The time when export was queued to be executed.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ExportExecutionInner
public ExportExecutionInner()Creates an instance of ExportExecutionInner class.
-
-
Method Details
-
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
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
Get the executionType property: The type of the export execution.- Returns:
- the executionType value.
-
withExecutionType
Set the executionType property: The type of the export execution.- Parameters:
executionType
- the executionType value to set.- Returns:
- the ExportExecutionInner object itself.
-
status
Get the status property: The last known status of the export execution.- Returns:
- the status value.
-
withStatus
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
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
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
Get the submittedTime property: The time when export was queued to be executed.- Returns:
- the submittedTime value.
-
withSubmittedTime
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
Get the processingStartTime property: The time when export was picked up to be executed.- Returns:
- the processingStartTime value.
-
withProcessingStartTime
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
Get the processingEndTime property: The time when the export execution finished.- Returns:
- the processingEndTime value.
-
withProcessingEndTime
Set the processingEndTime property: The time when the export execution finished.- Parameters:
processingEndTime
- the processingEndTime value to set.- Returns:
- the ExportExecutionInner object itself.
-
fileName
Get the fileName property: The name of the exported file.- Returns:
- the fileName value.
-
withFileName
Set the fileName property: The name of the exported file.- Parameters:
fileName
- the fileName value to set.- Returns:
- the ExportExecutionInner object itself.
-
runSettings
Get the runSettings property: The export settings that were in effect for this execution.- Returns:
- the runSettings value.
-
withRunSettings
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
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.
-