Class JobDetails
java.lang.Object
com.azure.resourcemanager.storageimportexport.models.JobDetails
Specifies the job properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the backupDriveManifest property: Default value is false.Get the cancelRequested property: Indicates whether a request has been submitted to cancel the job.Get the deliveryPackage property: Contains information about the package being shipped by the customer to the Microsoft data center.Get the diagnosticsPath property: The virtual blob directory to which the copy logs and backups of drive manifest files (if enabled) will be stored.Get the driveList property: List of up to ten drives that comprise the job.Get the encryptionKey property: Contains information about the encryption key.export()
Get the export property: A property containing information about the blobs to be exported for an export job.Get the incompleteBlobListUri property: A blob path that points to a block blob containing a list of blob names that were not exported due to insufficient drive space.jobType()
Get the jobType property: The type of job.logLevel()
Get the logLevel property: Default value is Error.Get the percentComplete property: Overall percentage completed for the job.Get the provisioningState property: Specifies the provisioning state of the job.Get the returnAddress property: Specifies the return address information for the job.Get the returnPackage property: Contains information about the package being shipped from the Microsoft data center to the customer to return the drives.Get the returnShipping property: Specifies the return carrier and customer's account with the carrier.Get the shippingInformation property: Contains information about the Microsoft datacenter to which the drives should be shipped.state()
Get the state property: Current state of the job.Get the storageAccountId property: The resource identifier of the storage account where data will be imported to or exported from.void
validate()
Validates the instance.withBackupDriveManifest
(Boolean backupDriveManifest) Set the backupDriveManifest property: Default value is false.withCancelRequested
(Boolean cancelRequested) Set the cancelRequested property: Indicates whether a request has been submitted to cancel the job.withDeliveryPackage
(DeliveryPackageInformation deliveryPackage) Set the deliveryPackage property: Contains information about the package being shipped by the customer to the Microsoft data center.withDiagnosticsPath
(String diagnosticsPath) Set the diagnosticsPath property: The virtual blob directory to which the copy logs and backups of drive manifest files (if enabled) will be stored.withDriveList
(List<DriveStatus> driveList) Set the driveList property: List of up to ten drives that comprise the job.withEncryptionKey
(EncryptionKeyDetails encryptionKey) Set the encryptionKey property: Contains information about the encryption key.withExport
(Export export) Set the export property: A property containing information about the blobs to be exported for an export job.withIncompleteBlobListUri
(String incompleteBlobListUri) Set the incompleteBlobListUri property: A blob path that points to a block blob containing a list of blob names that were not exported due to insufficient drive space.withJobType
(String jobType) Set the jobType property: The type of job.withLogLevel
(String logLevel) Set the logLevel property: Default value is Error.withPercentComplete
(Long percentComplete) Set the percentComplete property: Overall percentage completed for the job.withProvisioningState
(String provisioningState) Set the provisioningState property: Specifies the provisioning state of the job.withReturnAddress
(ReturnAddress returnAddress) Set the returnAddress property: Specifies the return address information for the job.withReturnPackage
(PackageInformation returnPackage) Set the returnPackage property: Contains information about the package being shipped from the Microsoft data center to the customer to return the drives.withReturnShipping
(ReturnShipping returnShipping) Set the returnShipping property: Specifies the return carrier and customer's account with the carrier.withShippingInformation
(ShippingInformation shippingInformation) Set the shippingInformation property: Contains information about the Microsoft datacenter to which the drives should be shipped.Set the state property: Current state of the job.withStorageAccountId
(String storageAccountId) Set the storageAccountId property: The resource identifier of the storage account where data will be imported to or exported from.
-
Constructor Details
-
JobDetails
public JobDetails()Creates an instance of JobDetails class.
-
-
Method Details
-
storageAccountId
Get the storageAccountId property: The resource identifier of the storage account where data will be imported to or exported from.- Returns:
- the storageAccountId value.
-
withStorageAccountId
Set the storageAccountId property: The resource identifier of the storage account where data will be imported to or exported from.- Parameters:
storageAccountId
- the storageAccountId value to set.- Returns:
- the JobDetails object itself.
-
jobType
Get the jobType property: The type of job.- Returns:
- the jobType value.
-
withJobType
Set the jobType property: The type of job.- Parameters:
jobType
- the jobType value to set.- Returns:
- the JobDetails object itself.
-
returnAddress
Get the returnAddress property: Specifies the return address information for the job.- Returns:
- the returnAddress value.
-
withReturnAddress
Set the returnAddress property: Specifies the return address information for the job.- Parameters:
returnAddress
- the returnAddress value to set.- Returns:
- the JobDetails object itself.
-
returnShipping
Get the returnShipping property: Specifies the return carrier and customer's account with the carrier.- Returns:
- the returnShipping value.
-
withReturnShipping
Set the returnShipping property: Specifies the return carrier and customer's account with the carrier.- Parameters:
returnShipping
- the returnShipping value to set.- Returns:
- the JobDetails object itself.
-
shippingInformation
Get the shippingInformation property: Contains information about the Microsoft datacenter to which the drives should be shipped.- Returns:
- the shippingInformation value.
-
withShippingInformation
Set the shippingInformation property: Contains information about the Microsoft datacenter to which the drives should be shipped.- Parameters:
shippingInformation
- the shippingInformation value to set.- Returns:
- the JobDetails object itself.
-
deliveryPackage
Get the deliveryPackage property: Contains information about the package being shipped by the customer to the Microsoft data center.- Returns:
- the deliveryPackage value.
-
withDeliveryPackage
Set the deliveryPackage property: Contains information about the package being shipped by the customer to the Microsoft data center.- Parameters:
deliveryPackage
- the deliveryPackage value to set.- Returns:
- the JobDetails object itself.
-
returnPackage
Get the returnPackage property: Contains information about the package being shipped from the Microsoft data center to the customer to return the drives. The format is the same as the deliveryPackage property above. This property is not included if the drives have not yet been returned.- Returns:
- the returnPackage value.
-
withReturnPackage
Set the returnPackage property: Contains information about the package being shipped from the Microsoft data center to the customer to return the drives. The format is the same as the deliveryPackage property above. This property is not included if the drives have not yet been returned.- Parameters:
returnPackage
- the returnPackage value to set.- Returns:
- the JobDetails object itself.
-
diagnosticsPath
Get the diagnosticsPath property: The virtual blob directory to which the copy logs and backups of drive manifest files (if enabled) will be stored.- Returns:
- the diagnosticsPath value.
-
withDiagnosticsPath
Set the diagnosticsPath property: The virtual blob directory to which the copy logs and backups of drive manifest files (if enabled) will be stored.- Parameters:
diagnosticsPath
- the diagnosticsPath value to set.- Returns:
- the JobDetails object itself.
-
logLevel
Get the logLevel property: Default value is Error. Indicates whether error logging or verbose logging will be enabled.- Returns:
- the logLevel value.
-
withLogLevel
Set the logLevel property: Default value is Error. Indicates whether error logging or verbose logging will be enabled.- Parameters:
logLevel
- the logLevel value to set.- Returns:
- the JobDetails object itself.
-
backupDriveManifest
Get the backupDriveManifest property: Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs.- Returns:
- the backupDriveManifest value.
-
withBackupDriveManifest
Set the backupDriveManifest property: Default value is false. Indicates whether the manifest files on the drives should be copied to block blobs.- Parameters:
backupDriveManifest
- the backupDriveManifest value to set.- Returns:
- the JobDetails object itself.
-
state
Get the state property: Current state of the job.- Returns:
- the state value.
-
withState
Set the state property: Current state of the job.- Parameters:
state
- the state value to set.- Returns:
- the JobDetails object itself.
-
cancelRequested
Get the cancelRequested property: Indicates whether a request has been submitted to cancel the job.- Returns:
- the cancelRequested value.
-
withCancelRequested
Set the cancelRequested property: Indicates whether a request has been submitted to cancel the job.- Parameters:
cancelRequested
- the cancelRequested value to set.- Returns:
- the JobDetails object itself.
-
percentComplete
Get the percentComplete property: Overall percentage completed for the job.- Returns:
- the percentComplete value.
-
withPercentComplete
Set the percentComplete property: Overall percentage completed for the job.- Parameters:
percentComplete
- the percentComplete value to set.- Returns:
- the JobDetails object itself.
-
incompleteBlobListUri
Get the incompleteBlobListUri property: A blob path that points to a block blob containing a list of blob names that were not exported due to insufficient drive space. If all blobs were exported successfully, then this element is not included in the response.- Returns:
- the incompleteBlobListUri value.
-
withIncompleteBlobListUri
Set the incompleteBlobListUri property: A blob path that points to a block blob containing a list of blob names that were not exported due to insufficient drive space. If all blobs were exported successfully, then this element is not included in the response.- Parameters:
incompleteBlobListUri
- the incompleteBlobListUri value to set.- Returns:
- the JobDetails object itself.
-
driveList
Get the driveList property: List of up to ten drives that comprise the job. The drive list is a required element for an import job; it is not specified for export jobs.- Returns:
- the driveList value.
-
withDriveList
Set the driveList property: List of up to ten drives that comprise the job. The drive list is a required element for an import job; it is not specified for export jobs.- Parameters:
driveList
- the driveList value to set.- Returns:
- the JobDetails object itself.
-
export
Get the export property: A property containing information about the blobs to be exported for an export job. This property is included for export jobs only.- Returns:
- the export value.
-
withExport
Set the export property: A property containing information about the blobs to be exported for an export job. This property is included for export jobs only.- Parameters:
export
- the export value to set.- Returns:
- the JobDetails object itself.
-
provisioningState
Get the provisioningState property: Specifies the provisioning state of the job.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Specifies the provisioning state of the job.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the JobDetails object itself.
-
encryptionKey
Get the encryptionKey property: Contains information about the encryption key.- Returns:
- the encryptionKey value.
-
withEncryptionKey
Set the encryptionKey property: Contains information about the encryption key.- Parameters:
encryptionKey
- the encryptionKey value to set.- Returns:
- the JobDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-