Class ImageExportJob
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.ImageExportJob
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ImageExportJob
extends com.ibm.cloud.sdk.core.service.model.GenericModel
ImageExportJob.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The format of the exported image.static interface
The resource type.static interface
The status of this image export job: - `deleting`: Export job is being deleted - `failed`: Export job could not be completed successfully - `queued`: Export job is queued - `running`: Export job is in progress - `succeeded`: Export job was completed successfully The exported image object is automatically deleted for `failed` jobs. -
Method Summary
Modifier and TypeMethodDescriptionGets the completedAt.Gets the createdAt.byte[]
Gets the encryptedDataKey.Gets the format.getHref()
Gets the href.getId()
Gets the id.getName()
Gets the name.Gets the resourceType.Gets the startedAt.Gets the status.Gets the statusReasons.Gets the storageBucket.Gets the storageHref.Gets the storageObject.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getCompletedAt
Gets the completedAt. The date and time that the image export job was completed. If absent, the export job has not yet completed.- Returns:
- the completedAt
-
getCreatedAt
Gets the createdAt. The date and time that the image export job was created.- Returns:
- the createdAt
-
getEncryptedDataKey
public byte[] getEncryptedDataKey()Gets the encryptedDataKey. A base64-encoded, encrypted representation of the key that was used to encrypt the data for the exported image. This key can be unwrapped with the image's `encryption_key` root key using either Key Protect or Hyper Protect Crypto Services. If absent, the export job is for an unencrypted image.- Returns:
- the encryptedDataKey
-
getFormat
-
getHref
-
getId
-
getName
Gets the name. The name for this image export job. The name must not be used by another export job for the image. Changing the name will not affect the exported image name, `storage_object.name`, or `storage_href` values.- Returns:
- the name
-
getResourceType
-
getStartedAt
Gets the startedAt. The date and time that the image export job started running. If absent, the export job has not yet started.- Returns:
- the startedAt
-
getStatus
Gets the status. The status of this image export job: - `deleting`: Export job is being deleted - `failed`: Export job could not be completed successfully - `queued`: Export job is queued - `running`: Export job is in progress - `succeeded`: Export job was completed successfully The exported image object is automatically deleted for `failed` jobs. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getStatusReasons
Gets the statusReasons. The reasons for the current status (if any).- Returns:
- the statusReasons
-
getStorageBucket
Gets the storageBucket. The Cloud Object Storage bucket of the exported image object.- Returns:
- the storageBucket
-
getStorageHref
Gets the storageHref. The Cloud Object Storage location of the exported image object. The object at this location will not exist until the job completes successfully. The exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the storage bucket.- Returns:
- the storageHref
-
getStorageObject
Gets the storageObject. The Cloud Object Storage object for the exported image. This object will not exist until the job completes successfully. The exported image object is not managed by the IBM VPC service, and may be removed or replaced with a different object by any user or service with IAM authorization to the storage bucket.- Returns:
- the storageObject
-