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.static interface
ShareJob.Type
The type of the file share 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. 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
-
-