Class ShareJob

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ShareJob
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    ShareJob.
    • Method Detail

      • getStatus

        public String getStatus()
        Gets the status. The status of the file share job. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the file share job on which the unexpected property value was encountered. * `cancelled`: This job has been cancelled. * `failed`: This job has failed. * `queued`: This job is queued. * `running`: This job is running. * `succeeded`: This job completed successfully.
        Returns:
        the status
      • getStatusReasons

        public List<ShareJobStatusReason> getStatusReasons()
        Gets the statusReasons. The reasons for the file share job status (if any). The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered.
        Returns:
        the statusReasons
      • getType

        public String getType()
        Gets the type. The type of the file share job. The enumerated values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the file share job on which the unexpected property value was encountered. * `replication_failover`: This is a share replication failover job. * `replication_init`: This is a share replication is initialization job. * `replication_split`: This is a share replication split job.
        Returns:
        the type