Class ShareJob

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.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.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The status of the file share job: - `cancelled`: This job has been cancelled.
    static interface 
    The type of the file share job: - `replication_failover`: This is a share replication failover job.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the status.
    Gets the statusReasons.
    Gets the type.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getStatus

      public String getStatus()
      Gets the status. The status of the file share job: - `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. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the status
    • getStatusReasons

      public List<ShareJobStatusReason> getStatusReasons()
      Gets the statusReasons. The reasons for the file share job status (if any).
      Returns:
      the statusReasons
    • getType

      public String getType()
      Gets the type. The type of the file share job: - `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. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the type