Class ExportRunPropertiesInner
java.lang.Object
com.azure.resourcemanager.costmanagement.fluent.models.ExportRunPropertiesInner
The properties of the export run.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExportRunPropertiesInner class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.exception.ManagementErrorerror()Get the error property: The details of any error.Get the executionType property: The type of the export run.fileName()Get the fileName property: The name of the exported file.Get the processingEndTime property: The time when the export run finished.Get the processingStartTime property: The time when export was picked up to be run.Get the runSettings property: The export settings that were in effect for this run.status()Get the status property: The last known status of the export run.Get the submittedBy property: The identifier for the entity that triggered the export.Get the submittedTime property: The time when export was queued to be run.voidvalidate()Validates the instance.withError(com.azure.core.management.exception.ManagementError error) Set the error property: The details of any error.withExecutionType(ExecutionType executionType) Set the executionType property: The type of the export run.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 run finished.withProcessingStartTime(OffsetDateTime processingStartTime) Set the processingStartTime property: The time when export was picked up to be run.withRunSettings(CommonExportPropertiesInner runSettings) Set the runSettings property: The export settings that were in effect for this run.withStatus(ExecutionStatus status) Set the status property: The last known status of the export run.withSubmittedBy(String submittedBy) Set the submittedBy property: The identifier for the entity that triggered the export.withSubmittedTime(OffsetDateTime submittedTime) Set the submittedTime property: The time when export was queued to be run.
-
Constructor Details
-
ExportRunPropertiesInner
public ExportRunPropertiesInner()Creates an instance of ExportRunPropertiesInner class.
-
-
Method Details
-
executionType
Get the executionType property: The type of the export run.- Returns:
- the executionType value.
-
withExecutionType
Set the executionType property: The type of the export run.- Parameters:
executionType- the executionType value to set.- Returns:
- the ExportRunPropertiesInner object itself.
-
status
Get the status property: The last known status of the export run.- Returns:
- the status value.
-
withStatus
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
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
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
Get the submittedTime property: The time when export was queued to be run.- Returns:
- the submittedTime value.
-
withSubmittedTime
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
Get the processingStartTime property: The time when export was picked up to be run.- Returns:
- the processingStartTime value.
-
withProcessingStartTime
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
Get the processingEndTime property: The time when the export run finished.- Returns:
- the processingEndTime value.
-
withProcessingEndTime
Set the processingEndTime property: The time when the export run finished.- Parameters:
processingEndTime- the processingEndTime value to set.- Returns:
- the ExportRunPropertiesInner 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 ExportRunPropertiesInner object itself.
-
runSettings
Get the runSettings property: The export settings that were in effect for this run.- Returns:
- the runSettings value.
-
withRunSettings
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.
-