Package com.azure.quantum.jobs.models
Class JobDetails
java.lang.Object
com.azure.quantum.jobs.models.JobDetails
Job details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the beginExecutionTime property: The time when the job began execution.Get the cancellationTime property: The time when a job was successfully cancelled.Get the containerUri property: The blob container SAS uri, the container is used to host job data.Get the creationTime property: The creation time of the job.Get the endExecutionTime property: The time when the job finished execution.Get the errorData property: The error data for the job.getId()
Get the id property: The job id.Get the inputDataFormat property: The format of the input data.Get the inputDataUri property: The input blob SAS uri, if specified, it will override the default input blob in the container.Get the inputParams property: The input parameters for the job.Get the metadata property: The job metadata.getName()
Get the name property: The job name.Get the outputDataFormat property: The format of the output data.Get the outputDataUri property: The output blob SAS uri.Get the providerId property: The unique identifier for the provider.Get the status property: The job status.Get the target property: The target identifier to run the job.setContainerUri
(String containerUri) Set the containerUri property: The blob container SAS uri, the container is used to host job data.Set the id property: The job id.setInputDataFormat
(String inputDataFormat) Set the inputDataFormat property: The format of the input data.setInputDataUri
(String inputDataUri) Set the inputDataUri property: The input blob SAS uri, if specified, it will override the default input blob in the container.setInputParams
(Object inputParams) Set the inputParams property: The input parameters for the job.setMetadata
(Map<String, String> metadata) Set the metadata property: The job metadata.Set the name property: The job name.setOutputDataFormat
(String outputDataFormat) Set the outputDataFormat property: The format of the output data.setOutputDataUri
(String outputDataUri) Set the outputDataUri property: The output blob SAS uri.setProviderId
(String providerId) Set the providerId property: The unique identifier for the provider.Set the target property: The target identifier to run the job.
-
Constructor Details
-
JobDetails
public JobDetails()
-
-
Method Details
-
getId
Get the id property: The job id.- Returns:
- the id value.
-
setId
Set the id property: The job id.- Parameters:
id
- the id value to set.- Returns:
- the JobDetails object itself.
-
getName
Get the name property: The job name. Is not required for the name to be unique and it's only used for display purposes.- Returns:
- the name value.
-
setName
Set the name property: The job name. Is not required for the name to be unique and it's only used for display purposes.- Parameters:
name
- the name value to set.- Returns:
- the JobDetails object itself.
-
getContainerUri
Get the containerUri property: The blob container SAS uri, the container is used to host job data.- Returns:
- the containerUri value.
-
setContainerUri
Set the containerUri property: The blob container SAS uri, the container is used to host job data.- Parameters:
containerUri
- the containerUri value to set.- Returns:
- the JobDetails object itself.
-
getInputDataUri
Get the inputDataUri property: The input blob SAS uri, if specified, it will override the default input blob in the container.- Returns:
- the inputDataUri value.
-
setInputDataUri
Set the inputDataUri property: The input blob SAS uri, if specified, it will override the default input blob in the container.- Parameters:
inputDataUri
- the inputDataUri value to set.- Returns:
- the JobDetails object itself.
-
getInputDataFormat
Get the inputDataFormat property: The format of the input data.- Returns:
- the inputDataFormat value.
-
setInputDataFormat
Set the inputDataFormat property: The format of the input data.- Parameters:
inputDataFormat
- the inputDataFormat value to set.- Returns:
- the JobDetails object itself.
-
getInputParams
Get the inputParams property: The input parameters for the job. JSON object used by the target solver. It is expected that the size of this object is small and only used to specify parameters for the execution target, not the input data.- Returns:
- the inputParams value.
-
setInputParams
Set the inputParams property: The input parameters for the job. JSON object used by the target solver. It is expected that the size of this object is small and only used to specify parameters for the execution target, not the input data.- Parameters:
inputParams
- the inputParams value to set.- Returns:
- the JobDetails object itself.
-
getProviderId
Get the providerId property: The unique identifier for the provider.- Returns:
- the providerId value.
-
setProviderId
Set the providerId property: The unique identifier for the provider.- Parameters:
providerId
- the providerId value to set.- Returns:
- the JobDetails object itself.
-
getTarget
Get the target property: The target identifier to run the job.- Returns:
- the target value.
-
setTarget
Set the target property: The target identifier to run the job.- Parameters:
target
- the target value to set.- Returns:
- the JobDetails object itself.
-
getMetadata
Get the metadata property: The job metadata. Metadata provides client the ability to store client-specific information.- Returns:
- the metadata value.
-
setMetadata
Set the metadata property: The job metadata. Metadata provides client the ability to store client-specific information.- Parameters:
metadata
- the metadata value to set.- Returns:
- the JobDetails object itself.
-
getOutputDataUri
Get the outputDataUri property: The output blob SAS uri. When a job finishes successfully, results will be uploaded to this blob.- Returns:
- the outputDataUri value.
-
setOutputDataUri
Set the outputDataUri property: The output blob SAS uri. When a job finishes successfully, results will be uploaded to this blob.- Parameters:
outputDataUri
- the outputDataUri value to set.- Returns:
- the JobDetails object itself.
-
getOutputDataFormat
Get the outputDataFormat property: The format of the output data.- Returns:
- the outputDataFormat value.
-
setOutputDataFormat
Set the outputDataFormat property: The format of the output data.- Parameters:
outputDataFormat
- the outputDataFormat value to set.- Returns:
- the JobDetails object itself.
-
getStatus
Get the status property: The job status.- Returns:
- the status value.
-
getCreationTime
Get the creationTime property: The creation time of the job.- Returns:
- the creationTime value.
-
getBeginExecutionTime
Get the beginExecutionTime property: The time when the job began execution.- Returns:
- the beginExecutionTime value.
-
getEndExecutionTime
Get the endExecutionTime property: The time when the job finished execution.- Returns:
- the endExecutionTime value.
-
getCancellationTime
Get the cancellationTime property: The time when a job was successfully cancelled.- Returns:
- the cancellationTime value.
-
getErrorData
Get the errorData property: The error data for the job. This is expected only when Status 'Failed'.- Returns:
- the errorData value.
-