Package com.ibm.cloud.is.vpc.v1.model
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
ShareJob.Status
The status of the file share job: - `cancelled`: This job has been cancelled.static interface
ShareJob.Type
The type of the file share job: - `replication_failover`: This is a share replication failover job.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStatus()
Gets the status.List<ShareJobStatusReason>
getStatusReasons()
Gets the statusReasons.String
getType()
Gets the type.
-
-
-
Method Detail
-
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
-
-